Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.annotations
Class AnnotatedClass<T>

java.lang.Object
  extended by org.nuxeo.runtime.annotations.AnnotatedClass<T>

public class AnnotatedClass<T>
extends Object

Author:
Bogdan Stefanescu

Constructor Summary
AnnotatedClass(Class<T> clazz)
           
 
Method Summary
 void addMethod(AnnotatedMethod method)
           
 boolean equals(Object obj)
           
 Class<?> getAnnotatedClass()
           
 AnnotatedMethod getAnnotatedMethod(Method method)
           
 AnnotatedMethod getAnnotatedMethod(String name, Class<?>... parameterTypes)
           
 AnnotatedMethod[] getAnnotatedMethods()
           
 AnnotatedMethod[] getAnnotatedMethods(Class<? extends Annotation> annotationClass)
           
<A extends Annotation>
A
getAnnotation(Class<A> annotationClass)
           
 Annotation[] getAnnotations()
           
 AnnotatedMethod getDeclaredAnnotatedMethod(Method method)
           
 AnnotatedMethod[] getDeclaredAnnotatedMethods()
           
 AnnotatedMethod[] getDeclaredAnnotatedMethods(Class<? extends Annotation> annotationClass)
           
<A extends Annotation>
A
getDeclaredAnnotation(Class<A> annotationClass)
           
 Annotation[] getDeclaredAnnotations()
           
 boolean hasAnnotatedMethods()
           
 int hashCode()
           
 boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
           
 boolean isDeclaringAnnotatedMethods()
           
 boolean isDeclaringAnnotation(Class<? extends Annotation> annotationClass)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotatedClass

public AnnotatedClass(Class<T> clazz)
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.