public final class MethodAnnotatedElement extends Object implements ParameterizedAnnotatedElement
| Constructor and Description |
|---|
MethodAnnotatedElement(Method method) |
| 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 MethodAnnotatedElement(Method method)
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-2012 Highsource. All Rights Reserved.