public class ResolutionTask<D extends CallableDescriptor,F extends D> extends CallResolutionContext<ResolutionTask<D,F>>
Modifier and Type | Class and Description |
---|---|
static interface |
ResolutionTask.DescriptorCheckStrategy |
Modifier and Type | Field and Description |
---|---|
JetReferenceExpression |
reference |
TracingStrategy |
tracing |
call, checkArguments, resolutionResultsCache, resolveMode
dataFlowInfo, expectedType, expressionPosition, scope, trace
Constructor and Description |
---|
ResolutionTask(java.util.Collection<ResolutionCandidate<D>> candidates,
JetReferenceExpression reference,
BasicCallResolutionContext context) |
ResolutionTask(java.util.Collection<ResolutionCandidate<D>> candidates,
JetReferenceExpression reference,
TracingStrategy tracing,
BindingTrace trace,
JetScope scope,
Call call,
JetType expectedType,
DataFlowInfo dataFlowInfo,
ResolveMode resolveMode,
CheckValueArgumentsMode checkArguments,
ExpressionPosition expressionPosition,
ResolutionResultsCache resolutionResultsCache) |
Modifier and Type | Method and Description |
---|---|
protected ResolutionTask<D,F> |
create(BindingTrace trace,
JetScope scope,
DataFlowInfo dataFlowInfo,
JetType expectedType,
ExpressionPosition expressionPosition) |
java.util.Collection<ResolutionCandidate<D>> |
getCandidates() |
java.util.Set<ResolvedCallWithTrace<F>> |
getResolvedCalls() |
boolean |
performAdvancedChecks(D descriptor,
BindingTrace trace,
TracingStrategy tracing) |
ResolutionTask<D,F> |
replaceCall(Call newCall) |
protected ResolutionTask<D,F> |
self() |
void |
setCheckingStrategy(ResolutionTask.DescriptorCheckStrategy strategy) |
java.lang.String |
toString() |
toBasic
replaceBindingTrace, replaceDataFlowInfo, replaceExpectedType, replaceExpressionPosition, replaceScope
public final JetReferenceExpression reference
public final TracingStrategy tracing
public ResolutionTask(@NotNull java.util.Collection<ResolutionCandidate<D>> candidates, @NotNull JetReferenceExpression reference, @NotNull TracingStrategy tracing, BindingTrace trace, JetScope scope, Call call, JetType expectedType, DataFlowInfo dataFlowInfo, ResolveMode resolveMode, CheckValueArgumentsMode checkArguments, ExpressionPosition expressionPosition, ResolutionResultsCache resolutionResultsCache)
public ResolutionTask(@NotNull java.util.Collection<ResolutionCandidate<D>> candidates, @NotNull JetReferenceExpression reference, @NotNull BasicCallResolutionContext context)
@NotNull public java.util.Collection<ResolutionCandidate<D>> getCandidates()
@NotNull public java.util.Set<ResolvedCallWithTrace<F>> getResolvedCalls()
public void setCheckingStrategy(ResolutionTask.DescriptorCheckStrategy strategy)
public boolean performAdvancedChecks(D descriptor, BindingTrace trace, TracingStrategy tracing)
protected ResolutionTask<D,F> create(@NotNull BindingTrace trace, @NotNull JetScope scope, @NotNull DataFlowInfo dataFlowInfo, @NotNull JetType expectedType, @NotNull ExpressionPosition expressionPosition)
create
in class ResolutionContext<ResolutionTask<D extends CallableDescriptor,F extends D>>
protected ResolutionTask<D,F> self()
self
in class ResolutionContext<ResolutionTask<D extends CallableDescriptor,F extends D>>
public ResolutionTask<D,F> replaceCall(@NotNull Call newCall)
public java.lang.String toString()
toString
in class java.lang.Object