public class UnresolvableFeatureCall extends AbstractUnresolvableReferenceWithNode implements IFeatureLinkingCandidate
Constructor and Description |
---|
UnresolvableFeatureCall(XAbstractFeatureCall featureCall,
INode node,
java.lang.String text,
ExpressionTypeComputationState state) |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.emf.ecore.resource.Resource.Diagnostic |
createDiagnostic(DiagnosticMessage message) |
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. |
applyToModel, getDiagnosticList, getLinkText, getNode
applyToComputationState, applyType, computeArgumentTypes, getContext, getExpression, getFeature, getPreferredCandidate, getResolvedTypes, getState, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyToComputationState, applyToModel, getExpression, getFeature, getPreferredCandidate
validate
getContext
public UnresolvableFeatureCall(XAbstractFeatureCall featureCall, INode node, java.lang.String text, ExpressionTypeComputationState state)
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()
getReference
in interface ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext
public java.util.List<LightweightTypeReference> getTypeArguments()
ILinkingCandidate
getTypeArguments
in interface ILinkingCandidate
protected org.eclipse.emf.ecore.resource.Resource.Diagnostic createDiagnostic(DiagnosticMessage message)
createDiagnostic
in class AbstractUnresolvableReferenceWithNode
protected XExpression getSyntacticReceiver()