|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.kotlin.resolve.calls.smartcasts.SmartCastManager
public class SmartCastManager
| Constructor Summary | |
|---|---|
SmartCastManager()
|
|
| Method Summary | |
|---|---|
static SmartCastResult |
checkAndRecordPossibleCast(DataFlowValue dataFlowValue,
KotlinType expectedType,
KtExpression expression,
ResolutionContext c,
KtExpression calleeExpression,
boolean recordExpressionType)
|
java.util.List<KotlinType> |
getSmartCastVariants(ReceiverValue receiverToCast,
BindingContext bindingContext,
DeclarationDescriptor containingDeclarationOrModule,
DataFlowInfo dataFlowInfo)
|
java.util.List<KotlinType> |
getSmartCastVariants(ReceiverValue receiverToCast,
ResolutionContext context)
|
java.util.Collection<KotlinType> |
getSmartCastVariantsExcludingReceiver(BindingContext bindingContext,
DeclarationDescriptor containingDeclarationOrModule,
DataFlowInfo dataFlowInfo,
ReceiverValue receiverToCast)
|
java.util.Collection<KotlinType> |
getSmartCastVariantsExcludingReceiver(ResolutionContext context,
ReceiverValue receiverToCast)
|
java.util.List<KotlinType> |
getSmartCastVariantsWithLessSpecificExcluded(ReceiverValue receiverToCast,
BindingContext bindingContext,
DeclarationDescriptor containingDeclarationOrModule,
DataFlowInfo dataFlowInfo)
|
boolean |
isSubTypeBySmartCastIgnoringNullability(ReceiverValue receiverArgument,
KotlinType receiverParameterType,
ResolutionContext context)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SmartCastManager()
| Method Detail |
|---|
@NotNull
public java.util.List<KotlinType> getSmartCastVariants(@NotNull
ReceiverValue receiverToCast,
@NotNull
ResolutionContext context)
@NotNull
public java.util.List<KotlinType> getSmartCastVariants(@NotNull
ReceiverValue receiverToCast,
@NotNull
BindingContext bindingContext,
@NotNull
DeclarationDescriptor containingDeclarationOrModule,
@NotNull
DataFlowInfo dataFlowInfo)
@NotNull
public java.util.List<KotlinType> getSmartCastVariantsWithLessSpecificExcluded(@NotNull
ReceiverValue receiverToCast,
@NotNull
BindingContext bindingContext,
@NotNull
DeclarationDescriptor containingDeclarationOrModule,
@NotNull
DataFlowInfo dataFlowInfo)
@NotNull
public java.util.Collection<KotlinType> getSmartCastVariantsExcludingReceiver(@NotNull
ResolutionContext context,
@NotNull
ReceiverValue receiverToCast)
@NotNull
public java.util.Collection<KotlinType> getSmartCastVariantsExcludingReceiver(@NotNull
BindingContext bindingContext,
@NotNull
DeclarationDescriptor containingDeclarationOrModule,
@NotNull
DataFlowInfo dataFlowInfo,
@NotNull
ReceiverValue receiverToCast)
public boolean isSubTypeBySmartCastIgnoringNullability(@NotNull
ReceiverValue receiverArgument,
@NotNull
KotlinType receiverParameterType,
@NotNull
ResolutionContext context)
@Nullable
public static SmartCastResult checkAndRecordPossibleCast(@NotNull
DataFlowValue dataFlowValue,
@NotNull
KotlinType expectedType,
@Nullable
KtExpression expression,
@NotNull
ResolutionContext c,
@Nullable
KtExpression calleeExpression,
boolean recordExpressionType)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||