org.jetbrains.jet.lang.resolve.calls.tasks
Class ResolutionTask<D extends CallableDescriptor,F extends D>
java.lang.Object
org.jetbrains.jet.lang.resolve.calls.context.ResolutionContext<Context>
org.jetbrains.jet.lang.resolve.calls.context.CallResolutionContext<ResolutionTask<D,F>>
org.jetbrains.jet.lang.resolve.calls.tasks.ResolutionTask<D,F>
public class ResolutionTask<D extends CallableDescriptor,F extends D>
- extends CallResolutionContext<ResolutionTask<D,F>>
Stores candidates for call resolution.
Constructor Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
reference
public final JetReferenceExpression reference
tracing
public final TracingStrategy tracing
ResolutionTask
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)
ResolutionTask
public ResolutionTask(@NotNull
java.util.Collection<ResolutionCandidate<D>> candidates,
@NotNull
JetReferenceExpression reference,
@NotNull
BasicCallResolutionContext context)
getCandidates
@NotNull
public java.util.Collection<ResolutionCandidate<D>> getCandidates()
getResolvedCalls
@NotNull
public java.util.Set<ResolvedCallWithTrace<F>> getResolvedCalls()
setCheckingStrategy
public void setCheckingStrategy(ResolutionTask.DescriptorCheckStrategy strategy)
performAdvancedChecks
public boolean performAdvancedChecks(D descriptor,
BindingTrace trace,
TracingStrategy tracing)
create
protected ResolutionTask<D,F> create(@NotNull
BindingTrace trace,
@NotNull
JetScope scope,
@NotNull
DataFlowInfo dataFlowInfo,
@NotNull
JetType expectedType,
@NotNull
ExpressionPosition expressionPosition)
- Specified by:
create
in class ResolutionContext<ResolutionTask<D extends CallableDescriptor,F extends D>>
self
protected ResolutionTask<D,F> self()
- Specified by:
self
in class ResolutionContext<ResolutionTask<D extends CallableDescriptor,F extends D>>
replaceCall
public ResolutionTask<D,F> replaceCall(@NotNull
Call newCall)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object