Methods Summary |
---|
public T | getAnnotation(java.lang.Class annotationType)Returns, for this element, the annotation with the specified type, or
{@code null} if no annotation with the specified type is present
(including inherited annotations).
|
public java.lang.annotation.Annotation[] | getAnnotations()Returns, for this element, an array containing all annotations (including
inherited annotations). If there are no annotations present, this method
returns a zero length array.
|
public java.lang.annotation.Annotation[] | getDeclaredAnnotations()Returns, for this element, all annotations that are explicitly declared
(not inherited). If there are no declared annotations present, this
method returns a zero length array.
|
public boolean | isAnnotationPresent(java.lang.Class annotationType)Indicates whether or not this element has an annotation with the
specified annotation type (including inherited annotations).
|