Top Fields Constructors Methods
kotlin.reflect.jvm.internal.impl.types.checker

public Class TypeCheckingProcedure

extends Object
Class Inheritance
Imports
org.jetbrains.annotations.NotNull, .Nullable, kotlin.reflect.jvm.internal.impl.builtins.KotlinBuiltIns, kotlin.reflect.jvm.internal.impl.descriptors.TypeParameterDescriptor, kotlin.reflect.jvm.internal.impl.resolve.descriptorUtil.DescriptorUtilsKt, kotlin.reflect.jvm.internal.impl.types.*, java.util.List

Field Summary

Modifier and TypeField and Description
private final TypeCheckingProcedureCallbacks

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private boolean
capture(@NotNull TypeProjection subtypeArgumentProjection, @NotNull TypeProjection supertypeArgumentProjection, @NotNull TypeParameterDescriptor parameter)

private boolean
checkSubtypeForTheSameConstructor(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType subtype, @NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType supertype)

public boolean
equalTypes(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType type1, @NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType type2)

public static @Nullable kotlin.reflect.jvm.internal.impl.types.KotlinType
findCorrespondingSupertype(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType subtype, @NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType supertype)

public static @Nullable kotlin.reflect.jvm.internal.impl.types.KotlinType
findCorrespondingSupertype(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType subtype, @NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType supertype, @NotNull TypeCheckingProcedureCallbacks typeCheckingProcedureCallbacks)

public static EnrichedProjectionKind
public static EnrichedProjectionKind
getEffectiveProjectionKind(@NotNull kotlin.reflect.jvm.internal.impl.types.Variance typeParameterVariance, @NotNull kotlin.reflect.jvm.internal.impl.types.Variance typeArgumentVariance)

private static @NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType
private static @NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType
protected boolean
heterogeneousEquivalence(kotlin.reflect.jvm.internal.impl.types.KotlinType inflexibleType, kotlin.reflect.jvm.internal.impl.types.KotlinType flexibleType)

public boolean
isSubtypeOf(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType subtype, @NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType supertype)

private boolean
isSubtypeOfForRepresentatives(kotlin.reflect.jvm.internal.impl.types.KotlinType subtype, kotlin.reflect.jvm.internal.impl.types.KotlinType supertype)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

constraintsback to summary
private final TypeCheckingProcedureCallbacks constraints

Constructor Detail

TypeCheckingProcedureback to summary
public TypeCheckingProcedure(TypeCheckingProcedureCallbacks constraints)

Method Detail

captureback to summary
private boolean capture(@NotNull TypeProjection subtypeArgumentProjection, @NotNull TypeProjection supertypeArgumentProjection, @NotNull TypeParameterDescriptor parameter)
checkSubtypeForTheSameConstructorback to summary
private boolean checkSubtypeForTheSameConstructor(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType subtype, @NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType supertype)
equalTypesback to summary
public boolean equalTypes(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType type1, @NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType type2)
findCorrespondingSupertypeback to summary
public static @Nullable kotlin.reflect.jvm.internal.impl.types.KotlinType findCorrespondingSupertype(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType subtype, @NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType supertype)
Annotations
@Nullable
findCorrespondingSupertypeback to summary
public static @Nullable kotlin.reflect.jvm.internal.impl.types.KotlinType findCorrespondingSupertype(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType subtype, @NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType supertype, @NotNull TypeCheckingProcedureCallbacks typeCheckingProcedureCallbacks)
Annotations
@Nullable
getEffectiveProjectionKindback to summary
public static EnrichedProjectionKind getEffectiveProjectionKind(@NotNull TypeParameterDescriptor typeParameter, @NotNull TypeProjection typeArgument)
getEffectiveProjectionKindback to summary
public static EnrichedProjectionKind getEffectiveProjectionKind(@NotNull kotlin.reflect.jvm.internal.impl.types.Variance typeParameterVariance, @NotNull kotlin.reflect.jvm.internal.impl.types.Variance typeArgumentVariance)
getInTypeback to summary
private static @NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType getInType(@NotNull TypeParameterDescriptor parameter, @NotNull TypeProjection argument)
Annotations
@NotNull
getOutTypeback to summary
private static @NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType getOutType(@NotNull TypeParameterDescriptor parameter, @NotNull TypeProjection argument)
Annotations
@NotNull
heterogeneousEquivalenceback to summary
protected boolean heterogeneousEquivalence(kotlin.reflect.jvm.internal.impl.types.KotlinType inflexibleType, kotlin.reflect.jvm.internal.impl.types.KotlinType flexibleType)
isSubtypeOfback to summary
public boolean isSubtypeOf(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType subtype, @NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType supertype)
isSubtypeOfForRepresentativesback to summary
private boolean isSubtypeOfForRepresentatives(kotlin.reflect.jvm.internal.impl.types.KotlinType subtype, kotlin.reflect.jvm.internal.impl.types.KotlinType supertype)