public class UnresolvableConstructorCall extends AbstractUnresolvableReferenceWithNode implements IConstructorLinkingCandidate
| Constructor and Description |
|---|
UnresolvableConstructorCall(XConstructorCall constructorCall,
org.eclipse.xtext.nodemodel.INode node,
java.lang.String text,
ExpressionTypeComputationState state) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<XExpression> |
getArguments() |
org.eclipse.xtext.common.types.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, getNodeapplyToComputationState, applyType, computeArgumentTypes, getContext, getExpression, getFeature, getPreferredCandidate, getResolvedTypes, getState, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyToComputationState, applyToModel, getExpression, getFeature, getPreferredCandidatevalidatepublic UnresolvableConstructorCall(XConstructorCall constructorCall, org.eclipse.xtext.nodemodel.INode node, java.lang.String text, ExpressionTypeComputationState state)
public org.eclipse.xtext.common.types.JvmConstructor getConstructor()
getConstructor in interface IConstructorLinkingCandidatepublic boolean isAnonymousClassConstructorCall()
isAnonymousClassConstructorCall in interface IConstructorLinkingCandidatepublic XConstructorCall getConstructorCall()
getConstructorCall in interface IConstructorLinkingCandidateprotected java.util.List<XExpression> getArguments()
getArguments in class AbstractUnresolvableReferencepublic org.eclipse.emf.ecore.EReference getReference()
getReference in interface org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContextpublic java.util.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 ILinkingCandidate