Class ResolvedImplicitReceiver
- java.lang.Object
-
- org.eclipse.xtext.xbase.typesystem.internal.AbstractImplicitFeature
-
- org.eclipse.xtext.xbase.typesystem.internal.ImplicitReceiver
-
- org.eclipse.xtext.xbase.typesystem.internal.ResolvedImplicitReceiver
-
- All Implemented Interfaces:
IApplicableCandidate,IFeatureLinkingCandidate,ILinkingCandidate
public class ResolvedImplicitReceiver extends ImplicitReceiver
-
-
Constructor Summary
Constructors Constructor Description ResolvedImplicitReceiver(XAbstractFeatureCall featureCall, XAbstractFeatureCall implicitReceiver, ExpressionTypeComputationState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyToComputationState()Apply this candidate to the current computation state model.voidapplyToModel(IResolvedTypes resolvedTypes)Injects the resolved feature into the model with the same semantics as the implicitresolveof EMF.-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.ImplicitReceiver
validate
-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractImplicitFeature
getExpression, getFeature, getFeatureCall, getOwner, getPreferredCandidate, getState, getTypeArguments, isExtension, isStatic, isTypeLiteral
-
-
-
-
Constructor Detail
-
ResolvedImplicitReceiver
public ResolvedImplicitReceiver(XAbstractFeatureCall featureCall, XAbstractFeatureCall implicitReceiver, ExpressionTypeComputationState state)
-
-
Method Detail
-
applyToComputationState
public void applyToComputationState()
Description copied from interface:ILinkingCandidateApply this candidate to the current computation state model. This propagates the type information about arguments and child expressions to the currently active resolution state.- Specified by:
applyToComputationStatein interfaceILinkingCandidate- Overrides:
applyToComputationStatein classImplicitReceiver
-
applyToModel
public void applyToModel(IResolvedTypes resolvedTypes)
Description copied from interface:ILinkingCandidateInjects the resolved feature into the model with the same semantics as the implicitresolveof EMF. This implies that the linked feature call may still point to a proxy afterwards.- Specified by:
applyToModelin interfaceIApplicableCandidate- Specified by:
applyToModelin interfaceILinkingCandidate- Overrides:
applyToModelin classImplicitReceiver
-
-