@NonNullByDefault public abstract class AbstractUnresolvableReferenceWithNode extends AbstractUnresolvableReference implements ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext
Constructor and Description |
---|
AbstractUnresolvableReferenceWithNode(XExpression expression,
INode node,
java.lang.String text,
ExpressionTypeComputationState state) |
Modifier and Type | Method and Description |
---|---|
void |
applyToModel()
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(DiagnosticMessage message) |
protected java.util.List<org.eclipse.emf.ecore.resource.Resource.Diagnostic> |
getDiagnosticList(LazyLinkingResource resource,
DiagnosticMessage message) |
java.lang.String |
getLinkText() |
protected INode |
getNode() |
applyToComputationState, applyType, computeArgumentTypes, getArguments, getContext, getConverter, getExpression, getFeature, getPreferredCandidate, getResolvedTypes, getState, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContext, getReference
getTypeArguments
public AbstractUnresolvableReferenceWithNode(XExpression expression, INode node, java.lang.String text, ExpressionTypeComputationState state)
public void applyToModel()
ILinkingCandidate
resolve
of EMF. This implies that the linked feature call may still point to a proxy afterwards.applyToModel
in interface ILinkingCandidate
protected org.eclipse.emf.ecore.resource.Resource.Diagnostic createDiagnostic(DiagnosticMessage message)
protected java.util.List<org.eclipse.emf.ecore.resource.Resource.Diagnostic> getDiagnosticList(LazyLinkingResource resource, @Nullable DiagnosticMessage message) throws java.lang.AssertionError
java.lang.AssertionError
protected INode getNode()
public java.lang.String getLinkText()
getLinkText
in interface ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext