public final class ConstructorAnnotatedElement extends Object implements ParameterizedAnnotatedElement
| Constructor and Description |
|---|
ConstructorAnnotatedElement(Constructor<?> constructor) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
Annotation[][] |
getParameterAnnotations()
Returns an array of arrays that represent the annotations on the formal
parameters, in declaration order, of the method represented by this
parameterized annotated element.
|
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByTypepublic ConstructorAnnotatedElement(Constructor<?> constructor)
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation in interface AnnotatedElementpublic Annotation[] getAnnotations()
getAnnotations in interface AnnotatedElementpublic Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotatedElementpublic Annotation[][] getParameterAnnotations()
ParameterizedAnnotatedElementgetParameterAnnotations in interface ParameterizedAnnotatedElementpublic boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
isAnnotationPresent in interface AnnotatedElementCopyright © 2006–2016. All rights reserved.