public static enum AnnotationValue.Kind extends Enum<AnnotationValue.Kind>
Enum Constant and Description |
---|
ARRAY
Indicates an array value
|
BOOLEAN
Indicates a primitive boolean value
|
BYTE
Indicates a primitive byte value
|
CHARACTER
Indicates a primitive character value
|
CLASS
Indicates a Java Class value
|
DOUBLE
Indicates a primitive double value
|
ENUM
Indicates a Java Enum value
|
FLOAT
Indicates a primitive float value
|
INTEGER
Indicates a primitive integer value
|
LONG
Indicates a primitive long value
|
NESTED
Indicates a nested annotation value
|
SHORT
Indicates a primitive short value
|
STRING
Indicates a Java String value
|
UNKNOWN
Indicates the value type is unknown
|
Modifier and Type | Method and Description |
---|---|
static AnnotationValue.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationValue.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationValue.Kind BYTE
public static final AnnotationValue.Kind SHORT
public static final AnnotationValue.Kind INTEGER
public static final AnnotationValue.Kind CHARACTER
public static final AnnotationValue.Kind FLOAT
public static final AnnotationValue.Kind DOUBLE
public static final AnnotationValue.Kind LONG
public static final AnnotationValue.Kind BOOLEAN
public static final AnnotationValue.Kind CLASS
public static final AnnotationValue.Kind STRING
public static final AnnotationValue.Kind ENUM
public static final AnnotationValue.Kind ARRAY
public static final AnnotationValue.Kind NESTED
public static final AnnotationValue.Kind UNKNOWN
public static AnnotationValue.Kind[] values()
for (AnnotationValue.Kind c : AnnotationValue.Kind.values()) System.out.println(c);
public static AnnotationValue.Kind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 JBoss by Red Hat. All rights reserved.