X - the declaring classpublic interface AnnotatedConstructor<X> extends AnnotatedCallable<X>
Represents a constructor of a Java class.
Constructor| Modifier and Type | Method and Description |
|---|---|
default <T extends Annotation> |
getAnnotations(Class<T> annotationType)
Get program element annotations of a certain annotation type.
|
Constructor<X> |
getJavaMember()
Get the underlying
Constructor. |
getParametersgetDeclaringType, isStaticgetAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresentConstructor<X> getJavaMember()
Get the underlying Constructor.
getJavaMember in interface AnnotatedMember<X>default <T extends Annotation> Set<T> getAnnotations(Class<T> annotationType)
AnnotatedGet program element annotations of a certain annotation type.
This method returns back all annotations, including repeatable annotations of this type.
The behavior of this method is intended to be the same behavior as AnnotatedElement.getAnnotationsByType(Class),
where repeatable annotations are supported.
getAnnotations in interface AnnotatedT - the type of the annotationannotationType - the class of the annotation typeComments to: cdi-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.