public class AnnotatedClass<T> extends Object
| Modifier and Type | Field and Description | 
|---|---|
protected Map<Class<? extends Annotation>,Annotation> | 
annotations  | 
protected Class<T> | 
clazz  | 
protected Map<Method,AnnotatedMethod> | 
methods  | 
protected AnnotatedClass<?> | 
superClass  | 
| Constructor and Description | 
|---|
AnnotatedClass(Class<T> clazz)  | 
protected AnnotatedClass<?> superClass
protected final Map<Class<? extends Annotation>,Annotation> annotations
protected final Map<Method,AnnotatedMethod> methods
public AnnotatedClass(Class<T> clazz)
public Class<?> getAnnotatedClass()
public <A extends Annotation> A getAnnotation(Class<A> annotationClass)
public <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass)
public Annotation[] getAnnotations()
public Annotation[] getDeclaredAnnotations()
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
public boolean isDeclaringAnnotation(Class<? extends Annotation> annotationClass)
public AnnotatedMethod getAnnotatedMethod(Method method)
public AnnotatedMethod getAnnotatedMethod(String name, Class<?>... parameterTypes) throws NoSuchMethodException
NoSuchMethodExceptionpublic AnnotatedMethod getDeclaredAnnotatedMethod(Method method)
public boolean hasAnnotatedMethods()
public boolean isDeclaringAnnotatedMethods()
public AnnotatedMethod[] getAnnotatedMethods()
public AnnotatedMethod[] getDeclaredAnnotatedMethods()
public AnnotatedMethod[] getAnnotatedMethods(Class<? extends Annotation> annotationClass)
public AnnotatedMethod[] getDeclaredAnnotatedMethods(Class<? extends Annotation> annotationClass)
public void addMethod(AnnotatedMethod method)
Copyright © 2019 Nuxeo. All rights reserved.