public abstract class AbstractNullLinkingCandidate extends 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.
|
JvmIdentifiableElement |
getFeature()
The currently considered feature (if any).
|
List<LightweightTypeReference> |
getTypeArguments()
The resolved type arguments.
|
boolean |
validate(IAcceptor<? super 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(IAcceptor<? super AbstractDiagnostic> result)
IApplicableCandidatevalidate in interface IApplicableCandidatetrue if further validation should be performed.public XExpression getExpression()
ILinkingCandidategetExpression in interface ILinkingCandidatepublic JvmIdentifiableElement getFeature()
ILinkingCandidatenull.getFeature in interface ILinkingCandidatepublic List<LightweightTypeReference> getTypeArguments()
ILinkingCandidategetTypeArguments in interface ILinkingCandidateCopyright © 2015. All Rights Reserved.