public interface AnnotationAccess
Modifier and Type | Method and Description |
---|---|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationType)
Returns an instantiated annotation, or null if the target does not have the indicated annotation.
|
<T extends java.lang.annotation.Annotation> |
hasAnnotation(java.lang.Class<T> annotationType)
Checks to see if the target has an annotation of the given type.
|
<T extends java.lang.annotation.Annotation> boolean hasAnnotation(java.lang.Class<T> annotationType)
<T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.