public interface IConstructorLinkingCandidate extends ILinkingCandidate
constructor call.
It's a typesafe specialization of the ILinkingCandidate| Modifier and Type | Method and Description |
|---|---|
org.eclipse.xtext.common.types.JvmConstructor |
getConstructor() |
XConstructorCall |
getConstructorCall() |
java.util.List<LightweightTypeReference> |
getTypeArguments()
The resolved type arguments.
|
boolean |
isAnonymousClassConstructorCall() |
applyToComputationState, applyToModel, getExpression, getFeature, getPreferredCandidatevalidateXConstructorCall getConstructorCall()
org.eclipse.xtext.common.types.JvmConstructor getConstructor()
boolean isAnonymousClassConstructorCall()
java.util.List<LightweightTypeReference> getTypeArguments()
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 ILinkingCandidate