|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationAccess
Interface implemented by members that may hold annotations.
Method Summary | ||
---|---|---|
|
getAnnotation(Class<T> annotationType)
Returns an instantiated annotation, or null if the target does not have the indicated annotation. |
|
|
hasAnnotation(Class<T> annotationType)
Checks to see if the target has an annotation of the given type. |
Method Detail |
---|
<T extends Annotation> boolean hasAnnotation(Class<T> annotationType)
<T extends Annotation> T getAnnotation(Class<T> annotationType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |