public class FollowUpError extends AbstractUnresolvableReference implements IFeatureLinkingCandidate
Constructor and Description |
---|
FollowUpError(XAbstractFeatureCall featureCall,
ExpressionTypeComputationState state) |
Modifier and Type | Method and Description |
---|---|
void |
applyToModel(IResolvedTypes resolvedTypes)
Injects the resolved feature into the model with the same semantics as the implicit
resolve
of EMF. |
protected java.util.List<XExpression> |
getArguments() |
XAbstractFeatureCall |
getFeatureCall()
Returns the feature call that is linked.
|
org.eclipse.emf.ecore.EReference |
getReference() |
protected XExpression |
getSyntacticReceiver() |
java.util.List<LightweightTypeReference> |
getTypeArguments()
The resolved type arguments.
|
boolean |
isExtension()
Returns
true if the the linked feature is contributed
by an extension. |
boolean |
isStatic()
Returns
true if the the linked feature is static. |
boolean |
isTypeLiteral()
Returns
true if the the feature call is linked as a type literal. |
applyToComputationState, applyType, computeArgumentTypes, getContext, getExpression, getFeature, getPreferredCandidate, getResolvedTypes, getState, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyToComputationState, getExpression, getFeature, getPreferredCandidate
validate
public FollowUpError(XAbstractFeatureCall featureCall, ExpressionTypeComputationState state)
public void applyToModel(IResolvedTypes resolvedTypes)
ILinkingCandidate
resolve
of EMF. This implies that the linked feature call may still point to a proxy afterwards.applyToModel
in interface IApplicableCandidate
applyToModel
in interface ILinkingCandidate
public XAbstractFeatureCall getFeatureCall()
IFeatureLinkingCandidate
getFeatureCall
in interface IFeatureLinkingCandidate
protected java.util.List<XExpression> getArguments()
getArguments
in class AbstractUnresolvableReference
public boolean isStatic()
IFeatureLinkingCandidate
true
if the the linked feature is static.isStatic
in interface IFeatureLinkingCandidate
public boolean isExtension()
IFeatureLinkingCandidate
true
if the the linked feature is contributed
by an extension.isExtension
in interface IFeatureLinkingCandidate
public boolean isTypeLiteral()
IFeatureLinkingCandidate
true
if the the feature call is linked as a type literal.isTypeLiteral
in interface IFeatureLinkingCandidate
public org.eclipse.emf.ecore.EReference getReference()
public java.util.List<LightweightTypeReference> getTypeArguments()
ILinkingCandidate
getTypeArguments
in interface ILinkingCandidate
protected XExpression getSyntacticReceiver()