public static enum AnnotationMember.Kind extends java.lang.Enum<AnnotationMember.Kind>
Enum Constant and Description |
---|
ARRAY
An array value.
|
BOOLEAN
A primitive
boolean value. |
BYTE
A primitive
byte value. |
CHAR
A primitive
char value. |
CLASS
A
Class value. |
DOUBLE
A primitive
double value. |
ENUM
An
Enum value. |
FLOAT
A primitive
float value. |
INT
A primitive
int value. |
LONG
A primitive
long value. |
NESTED_ANNOTATION
A nested
Annotation value. |
SHORT
A primitive
short value. |
STRING
A
String value. |
Modifier and Type | Method and Description |
---|---|
static AnnotationMember.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationMember.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationMember.Kind BOOLEAN
boolean
value.public static final AnnotationMember.Kind BYTE
byte
value.public static final AnnotationMember.Kind SHORT
short
value.public static final AnnotationMember.Kind INT
int
value.public static final AnnotationMember.Kind LONG
long
value.public static final AnnotationMember.Kind FLOAT
float
value.public static final AnnotationMember.Kind DOUBLE
double
value.public static final AnnotationMember.Kind CHAR
char
value.public static final AnnotationMember.Kind STRING
String
value.public static final AnnotationMember.Kind ENUM
Enum
value.public static final AnnotationMember.Kind CLASS
Class
value. Represented as Type
.public static final AnnotationMember.Kind NESTED_ANNOTATION
Annotation
value.
Represented as AnnotationInfo
.public static final AnnotationMember.Kind ARRAY
public static AnnotationMember.Kind[] values()
for (AnnotationMember.Kind c : AnnotationMember.Kind.values()) System.out.println(c);
public static AnnotationMember.Kind 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 null