Package org.openjdk.asmtools.jasm
Enum Class Tables.ConstType
- All Implemented Interfaces:
Serializable
,Comparable<Tables.ConstType>
,Constable
- Enclosing class:
- Tables
ConstType
A (typed) tag (constant) representing the type of Constant in the Constant Pool.
-
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 TypeMethodDescriptionparseKey()
void
print
(PrintWriter out) printval()
toString()
int
value()
static Tables.ConstType
Returns the enum constant of this class with the specified name.static Tables.ConstType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONSTANT_ZERO
-
CONSTANT_UTF8
-
CONSTANT_UNICODE
-
CONSTANT_INTEGER
-
CONSTANT_FLOAT
-
CONSTANT_LONG
-
CONSTANT_DOUBLE
-
CONSTANT_CLASS
-
CONSTANT_STRING
-
CONSTANT_FIELD
-
CONSTANT_METHOD
-
CONSTANT_INTERFACEMETHOD
-
CONSTANT_NAMEANDTYPE
-
CONSTANT_METHODHANDLE
-
CONSTANT_METHODTYPE
-
CONSTANT_DYNAMIC
-
CONSTANT_INVOKEDYNAMIC
-
CONSTANT_MODULE
-
CONSTANT_PACKAGE
-
-
Field Details
-
maxTag
public static final int maxTag- See Also:
-
value
private final int value -
parseKey
-
printval
-
-
Constructor Details
-
ConstType
-
-
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
public int value() -
parseKey
-
printval
-
print
-
toString
- Overrides:
toString
in classEnum<Tables.ConstType>
-