|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jetbrains.jet.lang.resolve.calls.model.VariableAsFunctionResolvedCall
public class VariableAsFunctionResolvedCall
Constructor Summary | |
---|---|
VariableAsFunctionResolvedCall(ResolvedCallWithTrace<FunctionDescriptor> functionCall,
ResolvedCallWithTrace<VariableDescriptor> variableCall)
|
Method Summary | |
---|---|
ResolvedCallImpl<FunctionDescriptor> |
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. |
FunctionDescriptor |
getCandidateDescriptor()
A target callable descriptor as it was accessible in the corresponding scope, i.e. |
DataFlowInfoForArguments |
getDataFlowInfoForArguments()
|
ExplicitReceiverKind |
getExplicitReceiverKind()
Determines whether receiver argument or this object is substituted for explicit receiver |
ResolvedCallWithTrace<FunctionDescriptor> |
getFunctionCall()
|
ReceiverValue |
getReceiverArgument()
If the target was an extension function or property, this is the value for its receiver parameter |
FunctionDescriptor |
getResultingDescriptor()
Type arguments are substituted. |
ResolutionStatus |
getStatus()
|
ReceiverValue |
getThisObject()
If the target was a member of a class, this is the object of that class to call it on |
DelegatingBindingTrace |
getTrace()
|
java.util.Map<TypeParameterDescriptor,JetType> |
getTypeArguments()
What's substituted for type parameters |
java.util.Map<ValueParameterDescriptor,ResolvedValueArgument> |
getValueArguments()
Values (arguments) for value parameters |
java.util.List<ResolvedValueArgument> |
getValueArgumentsByIndex()
Values (arguments) for value parameters indexed by parameter index |
ResolvedCallWithTrace<VariableDescriptor> |
getVariableCall()
|
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()
|
boolean |
isSafeCall()
|
void |
markCallAsCompleted()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VariableAsFunctionResolvedCall(@NotNull ResolvedCallWithTrace<FunctionDescriptor> functionCall, @NotNull ResolvedCallWithTrace<VariableDescriptor> variableCall)
Method Detail |
---|
@NotNull public ResolvedCallWithTrace<FunctionDescriptor> getFunctionCall()
@NotNull public ResolvedCallWithTrace<VariableDescriptor> getVariableCall()
@NotNull public FunctionDescriptor getCandidateDescriptor()
ResolvedCall
getCandidateDescriptor
in interface ResolvedCall<FunctionDescriptor>
@NotNull public FunctionDescriptor getResultingDescriptor()
ResolvedCall
getResultingDescriptor
in interface ResolvedCall<FunctionDescriptor>
@NotNull public ReceiverValue getReceiverArgument()
ResolvedCall
getReceiverArgument
in interface ResolvedCall<FunctionDescriptor>
@NotNull public ReceiverValue getThisObject()
ResolvedCall
getThisObject
in interface ResolvedCall<FunctionDescriptor>
@NotNull public ExplicitReceiverKind getExplicitReceiverKind()
ResolvedCall
getExplicitReceiverKind
in interface ResolvedCall<FunctionDescriptor>
@NotNull public java.util.Map<ValueParameterDescriptor,ResolvedValueArgument> getValueArguments()
ResolvedCall
getValueArguments
in interface ResolvedCall<FunctionDescriptor>
@NotNull public java.util.List<ResolvedValueArgument> getValueArgumentsByIndex()
ResolvedCall
getValueArgumentsByIndex
in interface ResolvedCall<FunctionDescriptor>
@NotNull public java.util.Map<TypeParameterDescriptor,JetType> getTypeArguments()
ResolvedCall
getTypeArguments
in interface ResolvedCall<FunctionDescriptor>
@NotNull public ResolutionStatus getStatus()
getStatus
in interface ResolvedCallWithTrace<FunctionDescriptor>
public boolean isDirty()
isDirty
in interface ResolvedCallWithTrace<FunctionDescriptor>
public DelegatingBindingTrace getTrace()
getTrace
in interface ResolvedCallWithTrace<FunctionDescriptor>
public boolean isSafeCall()
isSafeCall
in interface ResolvedCall<FunctionDescriptor>
public boolean hasIncompleteTypeParameters()
ResolvedCallWithTrace
hasIncompleteTypeParameters
in interface ResolvedCallWithTrace<FunctionDescriptor>
@NotNull public ResolvedCallImpl<FunctionDescriptor> getCallToCompleteTypeArgumentInference()
ResolvedCallWithTrace
getCallToCompleteTypeArgumentInference
in interface ResolvedCallWithTrace<FunctionDescriptor>
@NotNull public DataFlowInfoForArguments getDataFlowInfoForArguments()
getDataFlowInfoForArguments
in interface ResolvedCall<FunctionDescriptor>
public void markCallAsCompleted()
markCallAsCompleted
in interface ResolvedCallWithTrace<FunctionDescriptor>
public boolean isCompleted()
isCompleted
in interface ResolvedCallWithTrace<FunctionDescriptor>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |