Class AbstractUnresolvableReferenceWithNode
- java.lang.Object
-
- org.eclipse.xtext.xbase.typesystem.internal.AbstractUnresolvableReference
-
- org.eclipse.xtext.xbase.typesystem.internal.AbstractUnresolvableReferenceWithNode
-
- All Implemented Interfaces:
org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext
,IApplicableCandidate
,ILinkingCandidate
- Direct Known Subclasses:
UnresolvableConstructorCall
,UnresolvableFeatureCall
public abstract class AbstractUnresolvableReferenceWithNode extends AbstractUnresolvableReference implements org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext
-
-
Constructor Summary
Constructors Constructor Description AbstractUnresolvableReferenceWithNode(XExpression expression, org.eclipse.xtext.nodemodel.INode node, java.lang.String text, ExpressionTypeComputationState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyToModel(IResolvedTypes resolvedTypes)
Injects the resolved feature into the model with the same semantics as the implicitresolve
of EMF.protected org.eclipse.emf.ecore.resource.Resource.Diagnostic
createDiagnostic(org.eclipse.xtext.diagnostics.DiagnosticMessage message)
protected java.util.List<org.eclipse.emf.ecore.resource.Resource.Diagnostic>
getDiagnosticList(org.eclipse.xtext.linking.lazy.LazyLinkingResource resource, org.eclipse.xtext.diagnostics.DiagnosticMessage message)
java.lang.String
getLinkText()
protected org.eclipse.xtext.nodemodel.INode
getNode()
-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractUnresolvableReference
applyToComputationState, applyType, computeArgumentTypes, getArguments, getContext, getExpression, getFeature, getPreferredCandidate, getResolvedTypes, getState, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.xtext.xbase.typesystem.computation.ILinkingCandidate
getTypeArguments
-
-
-
-
Constructor Detail
-
AbstractUnresolvableReferenceWithNode
public AbstractUnresolvableReferenceWithNode(XExpression expression, org.eclipse.xtext.nodemodel.INode node, java.lang.String text, ExpressionTypeComputationState state)
-
-
Method Detail
-
applyToModel
public void applyToModel(IResolvedTypes resolvedTypes)
Description copied from interface:ILinkingCandidate
Injects the resolved feature into the model with the same semantics as the implicitresolve
of EMF. This implies that the linked feature call may still point to a proxy afterwards.- Specified by:
applyToModel
in interfaceIApplicableCandidate
- Specified by:
applyToModel
in interfaceILinkingCandidate
-
createDiagnostic
protected org.eclipse.emf.ecore.resource.Resource.Diagnostic createDiagnostic(org.eclipse.xtext.diagnostics.DiagnosticMessage message)
-
getDiagnosticList
protected java.util.List<org.eclipse.emf.ecore.resource.Resource.Diagnostic> getDiagnosticList(org.eclipse.xtext.linking.lazy.LazyLinkingResource resource, org.eclipse.xtext.diagnostics.DiagnosticMessage message) throws java.lang.AssertionError
- Throws:
java.lang.AssertionError
-
getNode
protected org.eclipse.xtext.nodemodel.INode getNode()
-
getLinkText
public java.lang.String getLinkText()
- Specified by:
getLinkText
in interfaceorg.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext
-
-