|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnnotatedElementEx
Interface for annotated elements supporting annotations with subtyping.
| Method Summary | ||
|---|---|---|
java.lang.annotation.Annotation[] |
getAnnotations()
Return an array of all annotations attached to the element. |
|
|
getAnnotations(java.lang.Class<A> c)
Return an array of the annotations attached to the element that are subclasses of the specified class. |
|
|
getAnnotations(ClassEx<A> c)
Return an array of the annotations attached to the element that are subclasses of the specified class. |
|
java.lang.annotation.Annotation[] |
getDeclaredAnnotations()
Return an array of all annotations attached directly to the element. |
|
|
getDeclaredAnnotations(java.lang.Class<A> c)
Return an array of the annotations attached to the element that are subclasses of the specified class. |
|
|
getDeclaredAnnotations(ClassEx<A> c)
Return an array of the annotations attached to the element that are subclasses of the specified class. |
|
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> c)
Returns true if an annotation for the specified type or one of its subtypes is present on this element, else false. |
|
boolean |
isAnnotationPresent(ClassEx<? extends java.lang.annotation.Annotation> c)
Returns true if an annotation for the specified type or one of its subtypes is present on this element, else false. |
|
boolean |
isAvailable()
Returns true if the class file was found and additional information is available beyond what Java's Class class might return. |
|
boolean |
isDeclaredAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> c)
Returns true if an annotation for the specified type or one of its subtypes is present on this element, else false. |
|
boolean |
isDeclaredAnnotationPresent(ClassEx<? extends java.lang.annotation.Annotation> c)
Returns true if an annotation for the specified type or one of its subtypes is present on this element, else false. |
|
| Method Detail |
|---|
boolean isAvailable()
boolean isAnnotationPresent(ClassEx<? extends java.lang.annotation.Annotation> c)
c - class
boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> c)
c - class
<A extends java.lang.annotation.Annotation> java.util.List<A> getAnnotations(ClassEx<A> c)
c - class
<A extends java.lang.annotation.Annotation> java.util.List<A> getAnnotations(java.lang.Class<A> c)
c - class
java.lang.annotation.Annotation[] getAnnotations()
boolean isDeclaredAnnotationPresent(ClassEx<? extends java.lang.annotation.Annotation> c)
c - class
boolean isDeclaredAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> c)
c - class
<A extends java.lang.annotation.Annotation> java.util.List<A> getDeclaredAnnotations(ClassEx<A> c)
c - class
<A extends java.lang.annotation.Annotation> java.util.List<A> getDeclaredAnnotations(java.lang.Class<A> c)
c - class
java.lang.annotation.Annotation[] getDeclaredAnnotations()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||