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
 ResolvedCallImpl<D> candidateCall
           
 ReceiverValue receiverForVariableAsFunctionSecondCall
           
 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, contextDependency, dataFlowInfo, expectedType, isAnnotationContext, labelResolver, resolutionResultsCache, scope, trace
 
Method Summary
protected  CallCandidateResolutionContext<D> create(BindingTrace trace, JetScope scope, DataFlowInfo dataFlowInfo, JetType expectedType, ContextDependency contextDependency, ResolutionResultsCache resolutionResultsCache, LabelResolver labelResolver)
           
static
<D extends CallableDescriptor>
CallCandidateResolutionContext<D>
create(ResolvedCallImpl<D> candidateCall, CallResolutionContext<?> context, BindingTrace trace, TracingStrategy tracing)
           
static
<D extends CallableDescriptor>
CallCandidateResolutionContext<D>
create(ResolvedCallImpl<D> candidateCall, CallResolutionContext<?> context, BindingTrace trace, TracingStrategy tracing, Call call)
           
static
<D extends CallableDescriptor>
CallCandidateResolutionContext<D>
createForCallBeingAnalyzed(ResolvedCallImpl<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, 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 ResolvedCallImpl<D extends CallableDescriptor> candidateCall

tracing

public final TracingStrategy tracing

receiverForVariableAsFunctionSecondCall

public ReceiverValue receiverForVariableAsFunctionSecondCall
Method Detail

create

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

create

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

createForCallBeingAnalyzed

public static <D extends CallableDescriptor> CallCandidateResolutionContext<D> createForCallBeingAnalyzed(@NotNull
                                                                                                          ResolvedCallImpl<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,
                                                   @NotNull
                                                   LabelResolver labelResolver)
Specified by:
create in class ResolutionContext<CallCandidateResolutionContext<D extends CallableDescriptor>>