public enum AnnotationType extends java.lang.Enum<AnnotationType>
| Enum Constant and Description |
|---|
CLASS
Class level
|
CONSTRUCTOR
Constructor level
|
FIELD
Field level
|
METHOD
Method level
|
PARAMETER
Parameter level
|
| Modifier and Type | Method and Description |
|---|---|
static AnnotationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationType CLASS
public static final AnnotationType FIELD
public static final AnnotationType CONSTRUCTOR
public static final AnnotationType METHOD
public static final AnnotationType PARAMETER
public static AnnotationType[] values()
for (AnnotationType c : AnnotationType.values()) System.out.println(c);
public static AnnotationType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright ? 2009 Red Hat Middleware LLC (http://www.jboss.com/)