org.jetbrains.kotlin.resolve.calls.context
Class CallCandidateResolutionContext<D extends CallableDescriptor>
java.lang.Object
org.jetbrains.kotlin.resolve.calls.context.ResolutionContext<Context>
org.jetbrains.kotlin.resolve.calls.context.CallResolutionContext<CallCandidateResolutionContext<D>>
org.jetbrains.kotlin.resolve.calls.context.CallCandidateResolutionContext<D>
public final class CallCandidateResolutionContext<D extends CallableDescriptor>
- extends CallResolutionContext<CallCandidateResolutionContext<D>>
Fields inherited from class org.jetbrains.kotlin.resolve.calls.context.ResolutionContext |
callChecker, 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
|
create(MutableResolvedCall<D> candidateCall,
CallResolutionContext<?> context,
BindingTrace trace,
TracingStrategy tracing,
Call call,
Receiver explicitExtensionReceiverForInvoke,
CandidateResolveMode candidateResolveMode)
|
static
|
createForCallBeingAnalyzed(MutableResolvedCall<D> candidateCall,
BasicCallResolutionContext context,
TracingStrategy tracing)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
candidateCall
@NotNull
public final MutableResolvedCall<D extends CallableDescriptor> candidateCall
tracing
@NotNull
public final TracingStrategy tracing
explicitExtensionReceiverForInvoke
@Nullable
public final Receiver explicitExtensionReceiverForInvoke
candidateResolveMode
@NotNull
public final CandidateResolveMode candidateResolveMode
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,
@Nullable
Receiver explicitExtensionReceiverForInvoke,
@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>>