org.jetbrains.jet.lang.resolve.calls.model
Interface ResolvedCallWithTrace<D extends CallableDescriptor>

All Superinterfaces:
ResolvedCall<D>
All Known Implementing Classes:
ResolvedCallImpl, VariableAsFunctionResolvedCall

public interface ResolvedCallWithTrace<D extends CallableDescriptor>
extends ResolvedCall<D>


Method Summary
 ResolvedCallImpl<D> getCallToCompleteTypeArgumentInference()
          //todo get rid of Impl class in the interface If the call has incomplete type parameters, it should be completed after resolution process is finished.
 ResolutionStatus getStatus()
           
 DelegatingBindingTrace getTrace()
           
 boolean hasIncompleteTypeParameters()
          Resolved call can have incomplete type parameters if ResolutionStatus is INCOMPLETE_TYPE_INFERENCE (might be completed successfully) or OTHER_ERROR (cannot be completed successfully, but if there's only one candidate, should be completed anyway).
 boolean isCompleted()
           
 boolean isDirty()
           
 void markCallAsCompleted()
           
 
Methods inherited from interface org.jetbrains.jet.lang.resolve.calls.model.ResolvedCall
getCandidateDescriptor, getDataFlowInfoForArguments, getExplicitReceiverKind, getReceiverArgument, getResultingDescriptor, getThisObject, getTypeArguments, getValueArguments, getValueArgumentsByIndex, isSafeCall
 

Method Detail

getStatus

@NotNull
ResolutionStatus getStatus()

hasIncompleteTypeParameters

boolean hasIncompleteTypeParameters()
Resolved call can have incomplete type parameters if ResolutionStatus is INCOMPLETE_TYPE_INFERENCE (might be completed successfully) or OTHER_ERROR (cannot be completed successfully, but if there's only one candidate, should be completed anyway).

Returns:
true if resolved call has unknown type parameters (inference is incomplete)

isDirty

boolean isDirty()

getTrace

DelegatingBindingTrace getTrace()

getCallToCompleteTypeArgumentInference

@NotNull
ResolvedCallImpl<D> getCallToCompleteTypeArgumentInference()
//todo get rid of Impl class in the interface If the call has incomplete type parameters, it should be completed after resolution process is finished. Returns this for normal call and function call for VariableAsFunctionCall.


markCallAsCompleted

void markCallAsCompleted()

isCompleted

boolean isCompleted()