Package org.nuxeo.runtime.annotations
Class AnnotatedClass<T>
java.lang.Object
org.nuxeo.runtime.annotations.AnnotatedClass<T>
- Author:
- Bogdan Stefanescu
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Map<Class<? extends Annotation>,
Annotation> protected final Map<Method,
AnnotatedMethod> protected AnnotatedClass<?>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMethod
(AnnotatedMethod method) boolean
Class<?>
getAnnotatedMethod
(Method method) getAnnotatedMethod
(String name, Class<?>... parameterTypes) getAnnotatedMethods
(Class<? extends Annotation> annotationClass) <A extends Annotation>
AgetAnnotation
(Class<A> annotationClass) getDeclaredAnnotatedMethod
(Method method) getDeclaredAnnotatedMethods
(Class<? extends Annotation> annotationClass) <A extends Annotation>
AgetDeclaredAnnotation
(Class<A> annotationClass) boolean
int
hashCode()
boolean
isAnnotationPresent
(Class<? extends Annotation> annotationClass) boolean
boolean
isDeclaringAnnotation
(Class<? extends Annotation> annotationClass) toString()
-
Field Details
-
superClass
-
clazz
-
annotations
-
methods
-
-
Constructor Details
-
AnnotatedClass
-
-
Method Details
-
getAnnotatedClass
-
getAnnotation
-
getDeclaredAnnotation
-
getAnnotations
-
getDeclaredAnnotations
-
isAnnotationPresent
-
isDeclaringAnnotation
-
getAnnotatedMethod
-
getAnnotatedMethod
public AnnotatedMethod getAnnotatedMethod(String name, Class<?>... parameterTypes) throws NoSuchMethodException - Throws:
NoSuchMethodException
-
getDeclaredAnnotatedMethod
-
hasAnnotatedMethods
public boolean hasAnnotatedMethods() -
isDeclaringAnnotatedMethods
public boolean isDeclaringAnnotatedMethods() -
getAnnotatedMethods
-
getDeclaredAnnotatedMethods
-
getAnnotatedMethods
-
getDeclaredAnnotatedMethods
-
addMethod
-
hashCode
public int hashCode() -
equals
-
toString
-