public abstract class AbstractResolvedReference<Expression extends XExpression> extends AbstractLinkingCandidate<Expression>
AbstractLinkingCandidate.ArgumentTypeComputationState, AbstractLinkingCandidate.ObservableTypeExpectation
Modifier and Type | Field and Description |
---|---|
protected JvmIdentifiableElement |
resolvedElement |
arguments, typeArguments
Modifier | Constructor and Description |
---|---|
protected |
AbstractResolvedReference(Expression expression,
JvmIdentifiableElement resolvedElement,
ITypeExpectation expectation,
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. |
JvmIdentifiableElement |
getFeature()
The currently considered feature (if any).
|
protected java.util.Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> |
getTypeParameterMapping() |
java.lang.String |
toString() |
boolean |
validate(IAcceptor<? super AbstractDiagnostic> result)
Produce diagnostics for this condidate.
|
accept, applyToComputationState, computeArgumentType, computeArgumentTypes, computeFixedArityArgumentType, computeVarArgumentType, createArgumentTypeSubstitutor, createLinkingTypeComputationState, createVarArgTypeComputationState, deferredBindTypeArgument, discardRefinementTypeIfReassigned, getActualType, getActualType, getArguments, getDeclaratorParameterMapping, getDeclaredType, getDeclaredTypeParameters, getExpectedType, getExpression, getPlainSyntacticTypeArguments, getState, getSubstitutedExpectedType, getSyntacticTypeArguments, getTypeArguments, hasReceiver, initializeArgumentTypeComputation, initializeConstraintMapping, initializeMapping, initializeTypeParameterMapping, initializeTypeParameterMapping, isBoundTypeArgumentSkipped, isRawTypeContext, isTypeLiteral, mustDiscardRefinement, preApply, resolveAgainstActualType, resolveArgumentType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPreferredCandidate
protected final JvmIdentifiableElement resolvedElement
protected AbstractResolvedReference(Expression expression, JvmIdentifiableElement resolvedElement, ITypeExpectation expectation, ExpressionTypeComputationState state)
protected java.util.Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> getTypeParameterMapping()
getTypeParameterMapping
in class AbstractLinkingCandidate<Expression extends XExpression>
public void applyToModel(IResolvedTypes resolvedTypes)
ILinkingCandidate
resolve
of EMF. This implies that the linked feature call may still point to a proxy afterwards.public boolean validate(IAcceptor<? super AbstractDiagnostic> result)
IApplicableCandidate
true
if further validation should be performed.public JvmIdentifiableElement getFeature()
ILinkingCandidate
null
.getFeature
in interface ILinkingCandidate
getFeature
in class AbstractLinkingCandidate<Expression extends XExpression>
public java.lang.String toString()
toString
in class java.lang.Object