public class ImplicitReceiver extends AbstractImplicitFeature
Constructor and Description |
---|
ImplicitReceiver(XAbstractFeatureCall featureCall,
XAbstractFeatureCall implicit,
ExpressionTypeComputationState state) |
Modifier and Type | Method and Description |
---|---|
void |
applyToComputationState()
Apply this candidate to the current computation state model.
|
void |
applyToModel(IResolvedTypes resolvedTypes)
Injects the resolved information into the model.
|
boolean |
validate(IAcceptor<? super AbstractDiagnostic> result)
Produce diagnostics for this condidate.
|
getExpression, getFeature, getFeatureCall, getOwner, getPreferredCandidate, getState, getTypeArguments, isExtension, isStatic, isTypeLiteral
public ImplicitReceiver(XAbstractFeatureCall featureCall, XAbstractFeatureCall implicit, ExpressionTypeComputationState state)
public void applyToComputationState()
ILinkingCandidate
applyToComputationState
in interface ILinkingCandidate
applyToComputationState
in class AbstractImplicitFeature
public void applyToModel(IResolvedTypes resolvedTypes)
IApplicableCandidate
public boolean validate(IAcceptor<? super AbstractDiagnostic> result)
IApplicableCandidate
validate
in interface IApplicableCandidate
validate
in class AbstractImplicitFeature
true
if further validation should be performed.