java.lang.annotation.ElementType
Defines an enumeration for Java program elements. It is used in conjunction
with the Target meta-annotation to restrict the use of an annotation
to certain program elements.
Summary
Enum Values
Public Methods
Methods inherited
from class
java.lang.Enum
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Enum Values
public
static
final
ElementType
ANNOTATION_TYPE
Annotation type declaration.
public
static
final
ElementType
CONSTRUCTOR
Constructor declaration.
public
static
final
ElementType
FIELD
Field declaration.
public
static
final
ElementType
LOCAL_VARIABLE
Local variable declaration.
public
static
final
ElementType
METHOD
Method declaration.
public
static
final
ElementType
PACKAGE
Package declaration.
public
static
final
ElementType
PARAMETER
Parameter declaration.
public
static
final
ElementType
TYPE
Class, interface or enum declaration.
Public Methods