public class TypeCheckingProcedure extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeCheckingProcedure.EnrichedProjectionKind |
| Constructor and Description |
|---|
TypeCheckingProcedure(TypingConstraints constraints) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalTypes(JetType type1,
JetType type2) |
static JetType |
findCorrespondingSupertype(JetType subtype,
JetType supertype) |
static TypeCheckingProcedure.EnrichedProjectionKind |
getEffectiveProjectionKind(TypeParameterDescriptor typeParameter,
TypeProjection typeArgument) |
static JetType |
getInType(TypeParameterDescriptor parameter,
TypeProjection argument) |
static JetType |
getOutType(TypeParameterDescriptor parameter,
TypeProjection argument) |
boolean |
isSubtypeOf(JetType subtype,
JetType supertype) |
public TypeCheckingProcedure(TypingConstraints constraints)
@Nullable public static JetType findCorrespondingSupertype(@NotNull JetType subtype, @NotNull JetType supertype)
public static JetType getOutType(TypeParameterDescriptor parameter, TypeProjection argument)
public static JetType getInType(TypeParameterDescriptor parameter, TypeProjection argument)
public boolean equalTypes(@NotNull JetType type1, @NotNull JetType type2)
public static TypeCheckingProcedure.EnrichedProjectionKind getEffectiveProjectionKind(@NotNull TypeParameterDescriptor typeParameter, @NotNull TypeProjection typeArgument)
public boolean isSubtypeOf(@NotNull JetType subtype, @NotNull JetType supertype)