public interface IConstructorLinkingCandidate extends ILinkingCandidate
constructor call.
It's a typesafe specialization of the ILinkingCandidate| Modifier and Type | Method and Description |
|---|---|
JvmConstructor |
getConstructor() |
XConstructorCall |
getConstructorCall() |
List<LightweightTypeReference> |
getTypeArguments()
The resolved type arguments.
|
boolean |
isAnonymousClassConstructorCall() |
applyToComputationState, applyToModel, getExpression, getFeature, getPreferredCandidatevalidateXConstructorCall getConstructorCall()
JvmConstructor getConstructor()
boolean isAnonymousClassConstructorCall()
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 ILinkingCandidateCopyright © 2015. All Rights Reserved.