public class AnnotatedClass<T> extends Object
Constructor and Description |
---|
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
NoSuchMethodException
public 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 © 2013 Nuxeo SA. All Rights Reserved.