public static enum ConstantPool.TAG extends java.lang.Enum<ConstantPool.TAG>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
printval |
private java.lang.String |
tagname |
private java.lang.Byte |
value |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description() |
java.lang.String |
tagname() |
java.lang.String |
toString() |
byte |
value() |
static ConstantPool.TAG |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConstantPool.TAG[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstantPool.TAG CONSTANT_UTF8
public static final ConstantPool.TAG CONSTANT_UNICODE
public static final ConstantPool.TAG CONSTANT_INTEGER
public static final ConstantPool.TAG CONSTANT_FLOAT
public static final ConstantPool.TAG CONSTANT_LONG
public static final ConstantPool.TAG CONSTANT_DOUBLE
public static final ConstantPool.TAG CONSTANT_CLASS
public static final ConstantPool.TAG CONSTANT_STRING
public static final ConstantPool.TAG CONSTANT_FIELD
public static final ConstantPool.TAG CONSTANT_METHOD
public static final ConstantPool.TAG CONSTANT_INTERFACEMETHOD
public static final ConstantPool.TAG CONSTANT_NAMEANDTYPE
public static final ConstantPool.TAG CONSTANT_METHODHANDLE
public static final ConstantPool.TAG CONSTANT_METHODTYPE
public static final ConstantPool.TAG CONSTANT_DYNAMIC
public static final ConstantPool.TAG CONSTANT_INVOKEDYNAMIC
public static final ConstantPool.TAG CONSTANT_MODULE
public static final ConstantPool.TAG CONSTANT_PACKAGE
private final java.lang.Byte value
private final java.lang.String tagname
private final java.lang.String printval
public static ConstantPool.TAG[] values()
for (ConstantPool.TAG c : ConstantPool.TAG.values()) System.out.println(c);
public static ConstantPool.TAG valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic byte value()
public java.lang.String tagname()
public java.lang.String description()
public java.lang.String toString()
toString
in class java.lang.Enum<ConstantPool.TAG>