Package org.nuxeo.runtime.annotations
Class AnnotatedClass<T>
java.lang.Object
org.nuxeo.runtime.annotations.AnnotatedClass<T>
- Author:
- Bogdan Stefanescu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map<Class<? extends Annotation>, Annotation> protected final Map<Method, AnnotatedMethod> protected AnnotatedClass<?> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMethod(AnnotatedMethod method) booleanClass<?> 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) booleaninthashCode()booleanisAnnotationPresent(Class<? extends Annotation> annotationClass) booleanbooleanisDeclaringAnnotation(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
-