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 voidapplyToModel(IResolvedTypes resolvedTypes)Injects the resolved feature into the model with the same semantics as the implicitresolveof EMF.protected org.eclipse.emf.ecore.resource.Resource.DiagnosticcreateDiagnostic(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.StringgetLinkText()protected org.eclipse.xtext.nodemodel.INodegetNode()-
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: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
-
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:
getLinkTextin interfaceorg.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext
-
-