public abstract class AbstractUnresolvableReferenceWithNode extends AbstractUnresolvableReference implements org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext
| Constructor and Description |
|---|
AbstractUnresolvableReferenceWithNode(XExpression expression,
org.eclipse.xtext.nodemodel.INode node,
java.lang.String text,
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 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() |
applyToComputationState, applyType, computeArgumentTypes, getArguments, getContext, getExpression, getFeature, getPreferredCandidate, getResolvedTypes, getState, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContext, getReferencegetTypeArgumentspublic AbstractUnresolvableReferenceWithNode(XExpression expression, org.eclipse.xtext.nodemodel.INode node, java.lang.String text, ExpressionTypeComputationState state)
public void applyToModel(IResolvedTypes resolvedTypes)
ILinkingCandidateresolve
of EMF. This implies that the linked feature call may still point to a proxy afterwards.applyToModel in interface IApplicableCandidateapplyToModel in interface ILinkingCandidateprotected 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)
throws java.lang.AssertionError
java.lang.AssertionErrorprotected org.eclipse.xtext.nodemodel.INode getNode()
public java.lang.String getLinkText()
getLinkText in interface org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext