|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Annotated
Describes annotated member properties.
Method Summary | ||
---|---|---|
|
getAnnotation(Class<T> annotationType)
Gets annotated element's annotation member if exist, null otherwise |
|
Set<Annotation> |
getAnnotations()
Gets annotated member all annotations. |
|
Type |
getBaseType()
Returns type of the element. |
|
Set<Type> |
getTypeClosure()
Returns set of type closures. |
|
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType)
Returns true if annotated member has annotation for given annotation type, false otherwise. |
Method Detail |
---|
Type getBaseType()
Set<Type> getTypeClosure()
getBaseType()
is assignable.
<T extends Annotation> T getAnnotation(Class<T> annotationType)
T
- generic annotatation class typeannotationType
- class of the annotation
Set<Annotation> getAnnotations()
boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
annotationType
- type of the annotation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |