Package org.openjdk.asmtools.jdis
Enum ConstantPool.TAG
- java.lang.Object
-
- java.lang.Enum<ConstantPool.TAG>
-
- org.openjdk.asmtools.jdis.ConstantPool.TAG
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ConstantPool.TAG>
- Enclosing class:
- ConstantPool
public static enum ConstantPool.TAG extends java.lang.Enum<ConstantPool.TAG>
TAG A Tag descriptor of constants in the constant pool
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
CONSTANT_UTF8
public static final ConstantPool.TAG CONSTANT_UTF8
-
CONSTANT_UNICODE
public static final ConstantPool.TAG CONSTANT_UNICODE
-
CONSTANT_INTEGER
public static final ConstantPool.TAG CONSTANT_INTEGER
-
CONSTANT_FLOAT
public static final ConstantPool.TAG CONSTANT_FLOAT
-
CONSTANT_LONG
public static final ConstantPool.TAG CONSTANT_LONG
-
CONSTANT_DOUBLE
public static final ConstantPool.TAG CONSTANT_DOUBLE
-
CONSTANT_CLASS
public static final ConstantPool.TAG CONSTANT_CLASS
-
CONSTANT_STRING
public static final ConstantPool.TAG CONSTANT_STRING
-
CONSTANT_FIELD
public static final ConstantPool.TAG CONSTANT_FIELD
-
CONSTANT_METHOD
public static final ConstantPool.TAG CONSTANT_METHOD
-
CONSTANT_INTERFACEMETHOD
public static final ConstantPool.TAG CONSTANT_INTERFACEMETHOD
-
CONSTANT_NAMEANDTYPE
public static final ConstantPool.TAG CONSTANT_NAMEANDTYPE
-
CONSTANT_METHODHANDLE
public static final ConstantPool.TAG CONSTANT_METHODHANDLE
-
CONSTANT_METHODTYPE
public static final ConstantPool.TAG CONSTANT_METHODTYPE
-
CONSTANT_DYNAMIC
public static final ConstantPool.TAG CONSTANT_DYNAMIC
-
CONSTANT_INVOKEDYNAMIC
public static final ConstantPool.TAG CONSTANT_INVOKEDYNAMIC
-
CONSTANT_MODULE
public static final ConstantPool.TAG CONSTANT_MODULE
-
CONSTANT_PACKAGE
public static final ConstantPool.TAG CONSTANT_PACKAGE
-
-
Method Detail
-
values
public static ConstantPool.TAG[] 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 (ConstantPool.TAG c : ConstantPool.TAG.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConstantPool.TAG valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public byte value()
-
tagname
public java.lang.String tagname()
-
description
public java.lang.String description()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ConstantPool.TAG>
-
-