org.jetbrains.kotlin.resolve.calls.context
Class CallCandidateResolutionContext<D extends CallableDescriptor>

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

public final class CallCandidateResolutionContext<D extends CallableDescriptor>
extends CallResolutionContext<CallCandidateResolutionContext<D>>


Field Summary
 MutableResolvedCall<D> candidateCall
           
 CandidateResolveMode candidateResolveMode
           
 TracingStrategy tracing
           
 
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
callPosition, collectAllCandidates, contextDependency, dataFlowInfo, expectedType, isAnnotationContext, isDebuggerContext, resolutionResultsCache, scope, statementFilter, trace
 
Method Summary
protected  CallCandidateResolutionContext<D> create(BindingTrace trace, LexicalScope scope, DataFlowInfo dataFlowInfo, KotlinType expectedType, ContextDependency contextDependency, ResolutionResultsCache resolutionResultsCache, StatementFilter statementFilter, boolean collectAllCandidates, CallPosition callPosition)
           
static
<D extends CallableDescriptor>
CallCandidateResolutionContext<D>
create(MutableResolvedCall<D> candidateCall, CallResolutionContext<?> context, BindingTrace trace, TracingStrategy tracing, Call call, CandidateResolveMode candidateResolveMode)
           
static
<D extends CallableDescriptor>
CallCandidateResolutionContext<D>
createForCallBeingAnalyzed(MutableResolvedCall<D> candidateCall, BasicCallResolutionContext context, TracingStrategy tracing)
           
 
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
 

Field Detail

candidateCall

@NotNull
public final MutableResolvedCall<D extends CallableDescriptor> candidateCall

tracing

@NotNull
public final TracingStrategy tracing

candidateResolveMode

@NotNull
public final CandidateResolveMode candidateResolveMode
Method Detail

create

public static <D extends CallableDescriptor> CallCandidateResolutionContext<D> create(@NotNull
                                                                                      MutableResolvedCall<D> candidateCall,
                                                                                      @NotNull
                                                                                      CallResolutionContext<?> context,
                                                                                      @NotNull
                                                                                      BindingTrace trace,
                                                                                      @NotNull
                                                                                      TracingStrategy tracing,
                                                                                      @NotNull
                                                                                      Call call,
                                                                                      @NotNull
                                                                                      CandidateResolveMode candidateResolveMode)

createForCallBeingAnalyzed

@NotNull
public static <D extends CallableDescriptor> CallCandidateResolutionContext<D> createForCallBeingAnalyzed(@NotNull
                                                                                                                  MutableResolvedCall<D> candidateCall,
                                                                                                                  @NotNull
                                                                                                                  BasicCallResolutionContext context,
                                                                                                                  @NotNull
                                                                                                                  TracingStrategy tracing)

create

protected CallCandidateResolutionContext<D> 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<CallCandidateResolutionContext<D extends CallableDescriptor>>