public class UnresolvableConstructorCall extends AbstractUnresolvableReferenceWithNode implements IConstructorLinkingCandidate
Constructor and Description |
---|
UnresolvableConstructorCall(XConstructorCall constructorCall,
INode node,
java.lang.String text,
ExpressionTypeComputationState state) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<XExpression> |
getArguments() |
JvmConstructor |
getConstructor() |
XConstructorCall |
getConstructorCall() |
org.eclipse.emf.ecore.EReference |
getReference() |
java.util.List<LightweightTypeReference> |
getTypeArguments()
The resolved type arguments.
|
boolean |
isAnonymousClassConstructorCall() |
applyToModel, createDiagnostic, getDiagnosticList, getLinkText, getNode
applyToComputationState, applyType, computeArgumentTypes, getContext, getExpression, getFeature, getPreferredCandidate, getResolvedTypes, getState, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyToComputationState, applyToModel, getExpression, getFeature, getPreferredCandidate
validate
getContext
public UnresolvableConstructorCall(XConstructorCall constructorCall, INode node, java.lang.String text, ExpressionTypeComputationState state)
public JvmConstructor getConstructor()
getConstructor
in interface IConstructorLinkingCandidate
public boolean isAnonymousClassConstructorCall()
isAnonymousClassConstructorCall
in interface IConstructorLinkingCandidate
public XConstructorCall getConstructorCall()
getConstructorCall
in interface IConstructorLinkingCandidate
protected java.util.List<XExpression> getArguments()
getArguments
in class AbstractUnresolvableReference
public org.eclipse.emf.ecore.EReference getReference()
getReference
in interface ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext
public java.util.List<LightweightTypeReference> getTypeArguments()
IConstructorLinkingCandidate
class C<T, V> { publicAn invocation of the constructorC(P p) {} }
C
will return three type arguments, the bound
values of for P
, T
and V
.getTypeArguments
in interface IConstructorLinkingCandidate
getTypeArguments
in interface ILinkingCandidate