API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.lang.reflect. AnnotatedElement View Source
Author(s)
Josh Bloch
Since
1.5
Version
Serial
Hierarchy
 AnnotatedElement
Subinterfaces
Description
public interface AnnotatedElement
  Represents an annotated element of the program currently running in this VM.
See also:   
Methods
Hide/Show inherited methods
public T getAnnotation (Class< T> annotationClass)
  Returns this element's annotation for the specified type if such an annotation is present, else null.
public Annotation getAnnotations ()
  Returns all annotations present on this element.
public Annotation getDeclaredAnnotations ()
  Returns all annotations that are directly present on this element.
public boolean isAnnotationPresent (Class<Annotation> annotationClass)
  Returns true if an annotation for the specified type is present on this element, else false.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar