public class AnnotatedMethod extends Object
Modifier and Type | Field and Description |
---|---|
protected AnnotatedClass<?> |
aclass |
protected Map<Class<? extends Annotation>,Annotation> |
annotations |
protected Method |
method |
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) |
protected final AnnotatedClass<?> aclass
protected final Map<Class<? extends Annotation>,Annotation> annotations
public AnnotatedClass<?> getAnnotatedClass()
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 © 2017 Nuxeo. All rights reserved.