Package org.openjdk.asmtools.jasm
Enum Class ClassFileConst.AnnotationElementType
java.lang.Object
java.lang.Enum<ClassFileConst.AnnotationElementType>
org.openjdk.asmtools.jasm.ClassFileConst.AnnotationElementType
- All Implemented Interfaces:
Serializable
,Comparable<ClassFileConst.AnnotationElementType>
,Constable
- Enclosing class:
- ClassFileConst
public static enum ClassFileConst.AnnotationElementType
extends Enum<ClassFileConst.AnnotationElementType>
Annotation Element Type enums
Table 4.7.16.1-A. Interpretation of tag values as types
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isSet
(char tagChar) char
tag()
The tag item uses a single ASCII character to indicate the type of the value of the element-value pair.value()
Returns the enum constant of this class with the specified name.static ClassFileConst.AnnotationElementType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AE_BYTE
-
AE_CHAR
-
AE_SHORT
-
AE_INT
-
AE_LONG
-
AE_FLOAT
-
AE_DOUBLE
-
AE_BOOLEAN
-
AE_STRING
-
AE_ENUM
-
AE_CLASS
-
AE_ANNOTATION
-
AE_ARRAY
-
AE_UNKNOWN
-
AE_NOT_APPLICABLE
-
-
Field Details
-
value
-
printValue
-
-
Constructor Details
-
AnnotationElementType
-
-
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
-
value
-
printValue
-
tag
public char tag()The tag item uses a single ASCII character to indicate the type of the value of the element-value pair. This determines which item of the value union is in use. Table 4.7.16.1-A shows the valid characters for the tag item.- Returns:
- a single ASCII character
-
isSet
public static boolean isSet(char tagChar)
-