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) |
public ConstructorAnnotatedElement(Constructor<?> constructor)
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation
in interface AnnotatedElement
public Annotation[] getAnnotations()
getAnnotations
in interface AnnotatedElement
public Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface AnnotatedElement
public Annotation[][] getParameterAnnotations()
ParameterizedAnnotatedElement
getParameterAnnotations
in interface ParameterizedAnnotatedElement
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
isAnnotationPresent
in interface AnnotatedElement
Copyright © 2006-2012 Highsource. All Rights Reserved.