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, collectAllCandidates, contextDependency, dataFlowInfo, expectedType, insideCallChain, isAnnotationContext, resolutionResultsCache, scope, statementFilter, trace
 
Method Summary
static BasicCallResolutionContext create(BindingTrace trace, LexicalScope scope, Call call, JetType expectedType, DataFlowInfo dataFlowInfo, ContextDependency contextDependency, CheckArgumentTypesMode checkArguments, CallChecker callChecker, boolean isAnnotationContext)
           
protected  BasicCallResolutionContext create(BindingTrace trace, LexicalScope scope, DataFlowInfo dataFlowInfo, JetType expectedType, ContextDependency contextDependency, ResolutionResultsCache resolutionResultsCache, StatementFilter statementFilter, boolean collectAllCandidates, boolean insideSafeCallChain)
           
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, replaceCollectAllCandidates, replaceContextDependency, replaceDataFlowInfo, replaceExpectedType, replaceInsideCallChain, 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
                                                        JetType 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
                                            JetType expectedType,
                                            @NotNull
                                            ContextDependency contextDependency,
                                            @NotNull
                                            ResolutionResultsCache resolutionResultsCache,
                                            @NotNull
                                            StatementFilter statementFilter,
                                            boolean collectAllCandidates,
                                            boolean insideSafeCallChain)
Specified by:
create in class ResolutionContext<BasicCallResolutionContext>

replaceCall

@NotNull
public BasicCallResolutionContext replaceCall(@NotNull
                                                      Call newCall)

performContextDependentCallChecks

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