org.jetbrains.kotlin.resolve.calls.context
Class BasicCallResolutionContext

java.lang.Object
  extended by org.jetbrains.kotlin.resolve.calls.context.ResolutionContext<Context>
      extended by org.jetbrains.kotlin.resolve.calls.context.CallResolutionContext<BasicCallResolutionContext>
          extended by org.jetbrains.kotlin.resolve.calls.context.BasicCallResolutionContext

public class BasicCallResolutionContext
extends CallResolutionContext<BasicCallResolutionContext>


Field Summary
 
Fields inherited from class org.jetbrains.kotlin.resolve.calls.context.CallResolutionContext
call, checkArguments, dataFlowInfoForArguments
 
Fields inherited from class org.jetbrains.kotlin.resolve.calls.context.ResolutionContext
callChecker, callPosition, collectAllCandidates, contextDependency, dataFlowInfo, expectedType, isAnnotationContext, isDebuggerContext, resolutionResultsCache, scope, statementFilter, trace
 
Method Summary
static BasicCallResolutionContext create(BindingTrace trace, LexicalScope scope, Call call, KotlinType expectedType, DataFlowInfo dataFlowInfo, ContextDependency contextDependency, CheckArgumentTypesMode checkArguments, CallChecker callChecker, boolean isAnnotationContext)
           
protected  BasicCallResolutionContext create(BindingTrace trace, LexicalScope scope, DataFlowInfo dataFlowInfo, KotlinType expectedType, ContextDependency contextDependency, ResolutionResultsCache resolutionResultsCache, StatementFilter statementFilter, boolean collectAllCandidates, CallPosition callPosition)
           
static BasicCallResolutionContext create(ResolutionContext context, Call call, CheckArgumentTypesMode checkArguments)
           
static BasicCallResolutionContext create(ResolutionContext context, Call call, CheckArgumentTypesMode checkArguments, MutableDataFlowInfoForArguments dataFlowInfoForArguments)
           
 void performContextDependentCallChecks(ResolvedCall<?> resolvedCall)
           
 BasicCallResolutionContext replaceCall(Call newCall)
           
 
Methods inherited from class org.jetbrains.kotlin.resolve.calls.context.CallResolutionContext
toBasic
 
Methods inherited from class org.jetbrains.kotlin.resolve.calls.context.ResolutionContext
replaceBindingTrace, replaceCallPosition, replaceCollectAllCandidates, replaceContextDependency, replaceDataFlowInfo, replaceExpectedType, replaceResolutionResultsCache, replaceScope, replaceStatementFilter, replaceTraceAndCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

@NotNull
public static BasicCallResolutionContext create(@NotNull
                                                        BindingTrace trace,
                                                        @NotNull
                                                        LexicalScope scope,
                                                        @NotNull
                                                        Call call,
                                                        @NotNull
                                                        KotlinType expectedType,
                                                        @NotNull
                                                        DataFlowInfo dataFlowInfo,
                                                        @NotNull
                                                        ContextDependency contextDependency,
                                                        @NotNull
                                                        CheckArgumentTypesMode checkArguments,
                                                        @NotNull
                                                        CallChecker callChecker,
                                                        boolean isAnnotationContext)

create

@NotNull
public static BasicCallResolutionContext create(@NotNull
                                                        ResolutionContext context,
                                                        @NotNull
                                                        Call call,
                                                        @NotNull
                                                        CheckArgumentTypesMode checkArguments,
                                                        @Nullable
                                                        MutableDataFlowInfoForArguments dataFlowInfoForArguments)

create

@NotNull
public static BasicCallResolutionContext create(@NotNull
                                                        ResolutionContext context,
                                                        @NotNull
                                                        Call call,
                                                        @NotNull
                                                        CheckArgumentTypesMode checkArguments)

create

protected BasicCallResolutionContext create(@NotNull
                                            BindingTrace trace,
                                            @NotNull
                                            LexicalScope scope,
                                            @NotNull
                                            DataFlowInfo dataFlowInfo,
                                            @NotNull
                                            KotlinType expectedType,
                                            @NotNull
                                            ContextDependency contextDependency,
                                            @NotNull
                                            ResolutionResultsCache resolutionResultsCache,
                                            @NotNull
                                            StatementFilter statementFilter,
                                            boolean collectAllCandidates,
                                            @NotNull
                                            CallPosition callPosition)
Specified by:
create in class ResolutionContext<BasicCallResolutionContext>

replaceCall

@NotNull
public BasicCallResolutionContext replaceCall(@NotNull
                                                      Call newCall)

performContextDependentCallChecks

public void performContextDependentCallChecks(@NotNull
                                              ResolvedCall<?> resolvedCall)