org.nuxeo.runtime.annotations
Class AnnotatedClass<T>
java.lang.Object
org.nuxeo.runtime.annotations.AnnotatedClass<T>
public class AnnotatedClass<T>
- extends Object
- Author:
- Bogdan Stefanescu
AnnotatedClass
public AnnotatedClass(Class<T> clazz)
getAnnotatedClass
public Class<?> getAnnotatedClass()
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> annotationClass)
getDeclaredAnnotation
public <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass)
getAnnotations
public Annotation[] getAnnotations()
getDeclaredAnnotations
public Annotation[] getDeclaredAnnotations()
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
isDeclaringAnnotation
public boolean isDeclaringAnnotation(Class<? extends Annotation> annotationClass)
getAnnotatedMethod
public AnnotatedMethod getAnnotatedMethod(Method method)
getAnnotatedMethod
public AnnotatedMethod getAnnotatedMethod(String name,
Class<?>... parameterTypes)
throws NoSuchMethodException
- Throws:
NoSuchMethodException
getDeclaredAnnotatedMethod
public AnnotatedMethod getDeclaredAnnotatedMethod(Method method)
hasAnnotatedMethods
public boolean hasAnnotatedMethods()
isDeclaringAnnotatedMethods
public boolean isDeclaringAnnotatedMethods()
getAnnotatedMethods
public AnnotatedMethod[] getAnnotatedMethods()
getDeclaredAnnotatedMethods
public AnnotatedMethod[] getDeclaredAnnotatedMethods()
getAnnotatedMethods
public AnnotatedMethod[] getAnnotatedMethods(Class<? extends Annotation> annotationClass)
getDeclaredAnnotatedMethods
public AnnotatedMethod[] getDeclaredAnnotatedMethods(Class<? extends Annotation> annotationClass)
addMethod
public void addMethod(AnnotatedMethod method)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011 Nuxeo SAS. All Rights Reserved.