Class ResolvedImplicitFirstArgument
- java.lang.Object
-
- org.eclipse.xtext.xbase.typesystem.internal.AbstractImplicitFeature
-
- org.eclipse.xtext.xbase.typesystem.internal.ImplicitFirstArgument
-
- org.eclipse.xtext.xbase.typesystem.internal.ResolvedImplicitFirstArgument
-
- All Implemented Interfaces:
IApplicableCandidate,IFeatureLinkingCandidate,ILinkingCandidate
public class ResolvedImplicitFirstArgument extends ImplicitFirstArgument
-
-
Constructor Summary
Constructors Constructor Description ResolvedImplicitFirstArgument(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.ImplicitFirstArgument
validate
-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractImplicitFeature
getExpression, getFeature, getFeatureCall, getOwner, getPreferredCandidate, getState, getTypeArguments, isExtension, isStatic, isTypeLiteral
-
-
-
-
Constructor Detail
-
ResolvedImplicitFirstArgument
public ResolvedImplicitFirstArgument(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 classAbstractImplicitFeature
-
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 classImplicitFirstArgument
-
-