public class AnnotatedMethod extends Object
Modifier and Type | Method and Description |
---|---|
AnnotatedClass<?> |
getAnnotatedClass() |
<A extends Annotation> |
getAnnotation(Class<A> annotationClass) |
Annotation[] |
getAnnotations() |
<A extends Annotation> |
getDeclaredAnnotation(Class<A> annotationClass) |
Annotation[] |
getDeclaredAnnotations() |
Method |
getMethod() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass) |
boolean |
isDeclaringAnnotation(Class<? extends Annotation> annotationClass) |
public AnnotatedClass<?> getAnnotatedClass()
public Method getMethod()
public Annotation[] getAnnotations()
public Annotation[] getDeclaredAnnotations()
public <A extends Annotation> A getAnnotation(Class<A> annotationClass)
public <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass)
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
public boolean isDeclaringAnnotation(Class<? extends Annotation> annotationClass)
Copyright © 2015 Nuxeo SA. All rights reserved.