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, resolutionResultsCache, resolveMode
 
Fields inherited from class org.jetbrains.jet.lang.resolve.calls.context.ResolutionContext
dataFlowInfo, expectedType, expressionPosition, scope, trace
 
Method Summary
protected  CallCandidateResolutionContext<D> create(BindingTrace trace, JetScope scope, DataFlowInfo dataFlowInfo, JetType expectedType, ExpressionPosition expressionPosition)
           
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)
           
static
<D extends CallableDescriptor>
CallCandidateResolutionContext<D>
createForCallBeingAnalyzed(ResolvedCallImpl<D> candidateCall, ResolutionContext context, Call call, ResolveMode resolveMode, CheckValueArgumentsMode checkArguments, TracingStrategy tracing, ResolutionResultsCache resolutionResultsCache)
           
 CallCandidateResolutionContext<D> replaceResolveMode(ResolveMode newResolveMode)
           
protected  CallCandidateResolutionContext<D> self()
           
 
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, replaceDataFlowInfo, replaceExpectedType, replaceExpressionPosition, replaceScope
 
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)

createForCallBeingAnalyzed

public static <D extends CallableDescriptor> CallCandidateResolutionContext<D> createForCallBeingAnalyzed(@NotNull
                                                                                                          ResolvedCallImpl<D> candidateCall,
                                                                                                          @NotNull
                                                                                                          ResolutionContext context,
                                                                                                          @NotNull
                                                                                                          Call call,
                                                                                                          @NotNull
                                                                                                          ResolveMode resolveMode,
                                                                                                          @NotNull
                                                                                                          CheckValueArgumentsMode checkArguments,
                                                                                                          @NotNull
                                                                                                          TracingStrategy tracing,
                                                                                                          @NotNull
                                                                                                          ResolutionResultsCache resolutionResultsCache)

create

protected CallCandidateResolutionContext<D> create(@NotNull
                                                   BindingTrace trace,
                                                   @NotNull
                                                   JetScope scope,
                                                   @NotNull
                                                   DataFlowInfo dataFlowInfo,
                                                   @NotNull
                                                   JetType expectedType,
                                                   @NotNull
                                                   ExpressionPosition expressionPosition)
Specified by:
create in class ResolutionContext<CallCandidateResolutionContext<D extends CallableDescriptor>>

self

protected CallCandidateResolutionContext<D> self()
Specified by:
self in class ResolutionContext<CallCandidateResolutionContext<D extends CallableDescriptor>>

replaceResolveMode

@NotNull
public CallCandidateResolutionContext<D> replaceResolveMode(@NotNull
                                                                    ResolveMode newResolveMode)