Package jakarta.enterprise.lang.model
Enum AnnotationMember.Kind
- java.lang.Object
-
- java.lang.Enum<AnnotationMember.Kind>
-
- jakarta.enterprise.lang.model.AnnotationMember.Kind
-
- All Implemented Interfaces:
Serializable,Comparable<AnnotationMember.Kind>
- Enclosing interface:
- AnnotationMember
public static enum AnnotationMember.Kind extends Enum<AnnotationMember.Kind>
The kind of the annotation member value.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAYAn array value.BOOLEANA primitivebooleanvalue.BYTEA primitivebytevalue.CHARA primitivecharvalue.CLASSAClassvalue.DOUBLEA primitivedoublevalue.ENUMAnEnumvalue.FLOATA primitivefloatvalue.INTA primitiveintvalue.LONGA primitivelongvalue.NESTED_ANNOTATIONA nestedAnnotationvalue.SHORTA primitiveshortvalue.STRINGAStringvalue.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnnotationMember.KindvalueOf(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.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final AnnotationMember.Kind BOOLEAN
A primitivebooleanvalue.
-
BYTE
public static final AnnotationMember.Kind BYTE
A primitivebytevalue.
-
SHORT
public static final AnnotationMember.Kind SHORT
A primitiveshortvalue.
-
INT
public static final AnnotationMember.Kind INT
A primitiveintvalue.
-
LONG
public static final AnnotationMember.Kind LONG
A primitivelongvalue.
-
FLOAT
public static final AnnotationMember.Kind FLOAT
A primitivefloatvalue.
-
DOUBLE
public static final AnnotationMember.Kind DOUBLE
A primitivedoublevalue.
-
CHAR
public static final AnnotationMember.Kind CHAR
A primitivecharvalue.
-
STRING
public static final AnnotationMember.Kind STRING
AStringvalue.
-
ENUM
public static final AnnotationMember.Kind ENUM
AnEnumvalue.
-
CLASS
public static final AnnotationMember.Kind CLASS
-
NESTED_ANNOTATION
public static final AnnotationMember.Kind NESTED_ANNOTATION
A nestedAnnotationvalue. Represented asAnnotationInfo.
-
ARRAY
public static final AnnotationMember.Kind ARRAY
An array value.
-
-
Method Detail
-
values
public static AnnotationMember.Kind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AnnotationMember.Kind c : AnnotationMember.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnnotationMember.Kind valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-