|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.almende.util.AnnotationUtil.AnnotatedClass
public static class AnnotationUtil.AnnotatedClass
AnnotatedClass describes a class, its annotations, and its methods.
Constructor Summary | |
---|---|
AnnotationUtil.AnnotatedClass(Class<?> clazz,
boolean includeObject)
Create a new AnnotatedClass |
Method Summary | ||
---|---|---|
Class<?> |
getActualClass()
Get the actual Java class described by this AnnotatedClass. |
|
|
getAnnotation(Class<T> type)
Get an annotation of this class by type. |
|
List<Annotation> |
getAnnotations()
Get all annotations defined on this class, its superclasses, and its interfaces |
|
List<AnnotationUtil.AnnotatedMethod> |
getMethods()
Get all methods including methods declared in superclasses. |
|
List<AnnotationUtil.AnnotatedMethod> |
getMethods(String name)
Get all methods including methods declared in superclasses, filtered by name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationUtil.AnnotatedClass(Class<?> clazz, boolean includeObject)
clazz
- includeObject
- If true, the methods of super class
java.lang.Object will be included too.Method Detail |
---|
public Class<?> getActualClass()
public List<AnnotationUtil.AnnotatedMethod> getMethods()
public List<AnnotationUtil.AnnotatedMethod> getMethods(String name)
name
-
public List<Annotation> getAnnotations()
public <T> T getAnnotation(Class<T> type)
annotationClass
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |