|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.kotlin.resolve.calls.model.ResolvedCallImpl<D>
public class ResolvedCallImpl<D extends CallableDescriptor>
| Field Summary | |
|---|---|
static com.intellij.util.Function<MutableResolvedCall<?>,CallableDescriptor> |
MAP_TO_CANDIDATE
|
static com.intellij.util.Function<MutableResolvedCall<?>,CallableDescriptor> |
MAP_TO_RESULT
|
| Method Summary | ||
|---|---|---|
void |
addStatus(ResolutionStatus status)
|
|
static
|
create(ResolutionCandidate<D> candidate,
DelegatingBindingTrace trace,
TracingStrategy tracing,
MutableDataFlowInfoForArguments dataFlowInfoForArguments)
|
|
ArgumentMapping |
getArgumentMapping(ValueArgument valueArgument)
The result of mapping the value argument to a parameter |
|
Call |
getCall()
The call that was resolved to this ResolvedCall |
|
D |
getCandidateDescriptor()
A target callable descriptor as it was accessible in the corresponding scope, i.e. |
|
ConstraintSystem |
getConstraintSystem()
|
|
MutableDataFlowInfoForArguments |
getDataFlowInfoForArguments()
Data flow info for each argument and the result data flow info |
|
ReceiverValue |
getDispatchReceiver()
If the target was a member of a class, this is the object of that class to call it on |
|
ExplicitReceiverKind |
getExplicitReceiverKind()
Determines whether receiver argument or this object is substituted for explicit receiver |
|
ReceiverValue |
getExtensionReceiver()
If the target was an extension function or property, this is the value for its receiver parameter |
|
TypeSubstitutor |
getKnownTypeParametersSubstitutor()
|
|
D |
getResultingDescriptor()
Type arguments are substituted. |
|
ResolutionStatus |
getStatus()
|
|
DelegatingBindingTrace |
getTrace()
|
|
TracingStrategy |
getTracing()
|
|
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 |
|
boolean |
hasInferredReturnType()
|
|
boolean |
isCompleted()
|
|
boolean |
isSafeCall()
|
|
void |
markCallAsCompleted()
|
|
void |
recordArgumentMatchStatus(ValueArgument valueArgument,
ArgumentMatchStatus matchStatus)
|
|
void |
recordValueArgument(ValueParameterDescriptor valueParameter,
ResolvedValueArgument valueArgument)
|
|
void |
setConstraintSystem(ConstraintSystem constraintSystem)
|
|
void |
setResultingSubstitutor(TypeSubstitutor substitutor)
|
|
void |
setStatusToSuccess()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final com.intellij.util.Function<MutableResolvedCall<?>,CallableDescriptor> MAP_TO_CANDIDATE
public static final com.intellij.util.Function<MutableResolvedCall<?>,CallableDescriptor> MAP_TO_RESULT
| Method Detail |
|---|
@NotNull
public static <D extends CallableDescriptor> ResolvedCallImpl<D> create(@NotNull
ResolutionCandidate<D> candidate,
@NotNull
DelegatingBindingTrace trace,
@NotNull
TracingStrategy tracing,
@NotNull
MutableDataFlowInfoForArguments dataFlowInfoForArguments)
@NotNull public ResolutionStatus getStatus()
getStatus in interface ResolvedCall<D extends CallableDescriptor>
public void addStatus(@NotNull
ResolutionStatus status)
addStatus in interface MutableResolvedCall<D extends CallableDescriptor>public void setStatusToSuccess()
setStatusToSuccess in interface MutableResolvedCall<D extends CallableDescriptor>@NotNull public DelegatingBindingTrace getTrace()
getTrace in interface MutableResolvedCall<D extends CallableDescriptor>@NotNull public TracingStrategy getTracing()
@NotNull public Call getCall()
ResolvedCall
getCall in interface ResolvedCall<D extends CallableDescriptor>@NotNull public D getCandidateDescriptor()
ResolvedCall
getCandidateDescriptor in interface ResolvedCall<D extends CallableDescriptor>@NotNull public D getResultingDescriptor()
ResolvedCall
getResultingDescriptor in interface ResolvedCall<D extends CallableDescriptor>
public void setResultingSubstitutor(@NotNull
TypeSubstitutor substitutor)
setResultingSubstitutor in interface MutableResolvedCall<D extends CallableDescriptor>
public void setConstraintSystem(@NotNull
ConstraintSystem constraintSystem)
setConstraintSystem in interface MutableResolvedCall<D extends CallableDescriptor>@Nullable public ConstraintSystem getConstraintSystem()
getConstraintSystem in interface MutableResolvedCall<D extends CallableDescriptor>
public void recordValueArgument(@NotNull
ValueParameterDescriptor valueParameter,
@NotNull
ResolvedValueArgument valueArgument)
recordValueArgument in interface MutableResolvedCall<D extends CallableDescriptor>@NotNull public ReceiverValue getExtensionReceiver()
ResolvedCall
getExtensionReceiver in interface ResolvedCall<D extends CallableDescriptor>@NotNull public ReceiverValue getDispatchReceiver()
ResolvedCall
getDispatchReceiver in interface ResolvedCall<D extends CallableDescriptor>@NotNull public ExplicitReceiverKind getExplicitReceiverKind()
ResolvedCall
getExplicitReceiverKind in interface ResolvedCall<D extends CallableDescriptor>@NotNull public java.util.Map<ValueParameterDescriptor,ResolvedValueArgument> getValueArguments()
ResolvedCall
getValueArguments in interface ResolvedCall<D extends CallableDescriptor>@Nullable public java.util.List<ResolvedValueArgument> getValueArgumentsByIndex()
ResolvedCall
getValueArgumentsByIndex in interface ResolvedCall<D extends CallableDescriptor>
public void recordArgumentMatchStatus(@NotNull
ValueArgument valueArgument,
@NotNull
ArgumentMatchStatus matchStatus)
recordArgumentMatchStatus in interface MutableResolvedCall<D extends CallableDescriptor>
@NotNull
public ArgumentMapping getArgumentMapping(@NotNull
ValueArgument valueArgument)
ResolvedCall
getArgumentMapping in interface ResolvedCall<D extends CallableDescriptor>@NotNull public java.util.Map<TypeParameterDescriptor,JetType> getTypeArguments()
ResolvedCall
getTypeArguments in interface ResolvedCall<D extends CallableDescriptor>public boolean isSafeCall()
isSafeCall in interface ResolvedCall<D extends CallableDescriptor>@NotNull public MutableDataFlowInfoForArguments getDataFlowInfoForArguments()
ResolvedCall
getDataFlowInfoForArguments in interface MutableResolvedCall<D extends CallableDescriptor>getDataFlowInfoForArguments in interface ResolvedCall<D extends CallableDescriptor>public boolean hasInferredReturnType()
hasInferredReturnType in interface MutableResolvedCall<D extends CallableDescriptor>public void markCallAsCompleted()
markCallAsCompleted in interface MutableResolvedCall<D extends CallableDescriptor>public boolean isCompleted()
isCompleted in interface MutableResolvedCall<D extends CallableDescriptor>@Nullable public TypeSubstitutor getKnownTypeParametersSubstitutor()
getKnownTypeParametersSubstitutor in interface MutableResolvedCall<D extends CallableDescriptor>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||