public class UnresolvableConstructorCall extends AbstractUnresolvableReferenceWithNode implements IConstructorLinkingCandidate
| Constructor and Description |
|---|
UnresolvableConstructorCall(XConstructorCall constructorCall,
INode node,
String text,
ExpressionTypeComputationState state) |
| Modifier and Type | Method and Description |
|---|---|
protected List<XExpression> |
getArguments() |
JvmConstructor |
getConstructor() |
XConstructorCall |
getConstructorCall() |
org.eclipse.emf.ecore.EReference |
getReference() |
List<LightweightTypeReference> |
getTypeArguments()
The resolved type arguments.
|
boolean |
isAnonymousClassConstructorCall() |
applyToModel, createDiagnostic, getDiagnosticList, getLinkText, getNodeapplyToComputationState, applyType, computeArgumentTypes, getContext, getExpression, getFeature, getPreferredCandidate, getResolvedTypes, getState, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyToComputationState, applyToModel, getExpression, getFeature, getPreferredCandidatevalidategetContextpublic UnresolvableConstructorCall(XConstructorCall constructorCall, INode node, String text, ExpressionTypeComputationState state)
public JvmConstructor getConstructor()
getConstructor in interface IConstructorLinkingCandidatepublic boolean isAnonymousClassConstructorCall()
isAnonymousClassConstructorCall in interface IConstructorLinkingCandidatepublic XConstructorCall getConstructorCall()
getConstructorCall in interface IConstructorLinkingCandidateprotected List<XExpression> getArguments()
getArguments in class AbstractUnresolvableReferencepublic org.eclipse.emf.ecore.EReference getReference()
getReference in interface ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContextpublic List<LightweightTypeReference> getTypeArguments()
IConstructorLinkingCandidate
class C<T, V> {
public C(P p) {}
}
An invocation of the constructor C will return three type arguments, the bound
values of for P, T and V.getTypeArguments in interface IConstructorLinkingCandidategetTypeArguments in interface ILinkingCandidateCopyright © 2015. All Rights Reserved.