Module jakarta.cdi.lang.model
Package jakarta.enterprise.lang.model
Enum Class AnnotationMember.Kind
- All Implemented Interfaces:
Serializable
,Comparable<AnnotationMember.Kind>
,Constable
- Enclosing interface:
AnnotationMember
The kind of the annotation member value.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAn array value.A primitiveboolean
value.A primitivebyte
value.A primitivechar
value.AClass
value.A primitivedouble
value.AnEnum
value.A primitivefloat
value.A primitiveint
value.A primitivelong
value.A nestedAnnotation
value.A primitiveshort
value.AString
value. -
Method Summary
Modifier and TypeMethodDescriptionstatic AnnotationMember.Kind
Returns the enum constant of this class with the specified name.static AnnotationMember.Kind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
A primitiveboolean
value. -
BYTE
A primitivebyte
value. -
SHORT
A primitiveshort
value. -
INT
A primitiveint
value. -
LONG
A primitivelong
value. -
FLOAT
A primitivefloat
value. -
DOUBLE
A primitivedouble
value. -
CHAR
A primitivechar
value. -
STRING
AString
value. -
ENUM
AnEnum
value. -
CLASS
-
NESTED_ANNOTATION
A nestedAnnotation
value. Represented asAnnotationInfo
. -
ARRAY
An array value.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-