Package org.nuxeo.runtime.annotations
Class AnnotatedMethod
- java.lang.Object
-
- org.nuxeo.runtime.annotations.AnnotatedMethod
-
public class AnnotatedMethod extends Object
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected AnnotatedClass<?>
aclass
protected Map<Class<? extends Annotation>,Annotation>
annotations
protected Method
method
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotatedClass<?>
getAnnotatedClass()
<A extends Annotation>
AgetAnnotation(Class<A> annotationClass)
Annotation[]
getAnnotations()
<A extends Annotation>
AgetDeclaredAnnotation(Class<A> annotationClass)
Annotation[]
getDeclaredAnnotations()
Method
getMethod()
boolean
isAnnotationPresent(Class<? extends Annotation> annotationClass)
boolean
isDeclaringAnnotation(Class<? extends Annotation> annotationClass)
-
-
-
Field Detail
-
aclass
protected final AnnotatedClass<?> aclass
-
method
protected final Method method
-
annotations
protected final Map<Class<? extends Annotation>,Annotation> annotations
-
-
Method Detail
-
getAnnotatedClass
public AnnotatedClass<?> getAnnotatedClass()
-
getMethod
public Method getMethod()
-
getAnnotations
public Annotation[] getAnnotations()
-
getDeclaredAnnotations
public Annotation[] getDeclaredAnnotations()
-
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> annotationClass)
-
getDeclaredAnnotation
public <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass)
-
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
-
isDeclaringAnnotation
public boolean isDeclaringAnnotation(Class<? extends Annotation> annotationClass)
-
-