-
-
-
Methods in java.lang.annotation that return ElementType
Modifier and Type |
Method |
Description |
ElementType[] |
value() |
Returns an array of the kinds of elements an annotation type
can be applied to.
|
static ElementType |
ElementType.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ElementType[] |
ElementType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|