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

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

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


Field Summary
 MutableResolvedCall<D> candidateCall
           
 ReceiverValue explicitExtensionReceiverForInvoke
           
 TracingStrategy tracing
           
 
Fields inherited from class org.jetbrains.jet.lang.resolve.calls.context.CallResolutionContext
call, checkArguments, dataFlowInfoForArguments
 
Fields inherited from class org.jetbrains.jet.lang.resolve.calls.context.ResolutionContext
callResolverExtension, collectAllCandidates, contextDependency, dataFlowInfo, expectedType, isAnnotationContext, resolutionResultsCache, scope, trace
 
Method Summary
protected  CallCandidateResolutionContext<D> create(BindingTrace trace, JetScope scope, DataFlowInfo dataFlowInfo, JetType expectedType, ContextDependency contextDependency, ResolutionResultsCache resolutionResultsCache, boolean collectAllCandidates)
           
static
<D extends CallableDescriptor>
CallCandidateResolutionContext<D>
create(MutableResolvedCall<D> candidateCall, CallResolutionContext<?> context, BindingTrace trace, TracingStrategy tracing)
           
static
<D extends CallableDescriptor>
CallCandidateResolutionContext<D>
create(MutableResolvedCall<D> candidateCall, CallResolutionContext<?> context, BindingTrace trace, TracingStrategy tracing, Call call)
           
static
<D extends CallableDescriptor>
CallCandidateResolutionContext<D>
create(MutableResolvedCall<D> candidateCall, CallResolutionContext<?> context, BindingTrace trace, TracingStrategy tracing, Call call, ReceiverValue explicitExtensionReceiverForInvoke)
           
static
<D extends CallableDescriptor>
CallCandidateResolutionContext<D>
createForCallBeingAnalyzed(MutableResolvedCall<D> candidateCall, BasicCallResolutionContext context, TracingStrategy tracing)
           
 
Methods inherited from class org.jetbrains.jet.lang.resolve.calls.context.CallResolutionContext
toBasic
 
Methods inherited from class org.jetbrains.jet.lang.resolve.calls.context.ResolutionContext
replaceBindingTrace, replaceCollectAllCandidates, replaceContextDependency, replaceDataFlowInfo, replaceExpectedType, replaceResolutionResultsCache, replaceScope, replaceTraceAndCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

candidateCall

public final MutableResolvedCall<D extends CallableDescriptor> candidateCall

tracing

public final TracingStrategy tracing

explicitExtensionReceiverForInvoke

public final ReceiverValue explicitExtensionReceiverForInvoke
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
                                                                                      ReceiverValue explicitExtensionReceiverForInvoke)

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)

create

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

createForCallBeingAnalyzed

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
                                                   JetScope scope,
                                                   @NotNull
                                                   DataFlowInfo dataFlowInfo,
                                                   @NotNull
                                                   JetType expectedType,
                                                   @NotNull
                                                   ContextDependency contextDependency,
                                                   @NotNull
                                                   ResolutionResultsCache resolutionResultsCache,
                                                   boolean collectAllCandidates)
Specified by:
create in class ResolutionContext<CallCandidateResolutionContext<D extends CallableDescriptor>>