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