public abstract class AbstractNullLinkingCandidate extends java.lang.Object implements ILinkingCandidate
| Modifier and Type | Field and Description |
|---|---|
protected XExpression |
featureOrConstructorCall |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNullLinkingCandidate(XExpression featureOrConstructorCall) |
| 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. |
XExpression |
getExpression()
The current expression that shall be linked.
|
org.eclipse.xtext.common.types.JvmIdentifiableElement |
getFeature()
The currently considered feature (if any).
|
java.util.List<LightweightTypeReference> |
getTypeArguments()
The resolved type arguments.
|
boolean |
validate(org.eclipse.xtext.util.IAcceptor<? super org.eclipse.xtext.diagnostics.AbstractDiagnostic> result)
Produce diagnostics for this condidate.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyToComputationState, getPreferredCandidateprotected final XExpression featureOrConstructorCall
protected AbstractNullLinkingCandidate(XExpression featureOrConstructorCall)
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 ILinkingCandidatepublic boolean validate(org.eclipse.xtext.util.IAcceptor<? super org.eclipse.xtext.diagnostics.AbstractDiagnostic> result)
IApplicableCandidatevalidate in interface IApplicableCandidatetrue if further validation should be performed.public XExpression getExpression()
ILinkingCandidategetExpression in interface ILinkingCandidatepublic org.eclipse.xtext.common.types.JvmIdentifiableElement getFeature()
ILinkingCandidatenull.getFeature in interface ILinkingCandidatepublic java.util.List<LightweightTypeReference> getTypeArguments()
ILinkingCandidategetTypeArguments in interface ILinkingCandidate