public static enum ConstantPool.Tag extends java.lang.Enum<ConstantPool.Tag>
| Enum Constant and Description |
|---|
DoubleConstant |
FieldReference |
FloatConstant |
IntegerConstant |
InterfaceMethodReference |
InvokeDynamicInfo |
LongConstant |
MethodHandle |
MethodReference |
MethodType |
NameAndTypeDescriptor |
StringConstant |
TypeInfo |
Utf8StringConstant |
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static ConstantPool.Tag |
fromValue(int 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 Utf8StringConstant
public static final ConstantPool.Tag IntegerConstant
public static final ConstantPool.Tag FloatConstant
public static final ConstantPool.Tag LongConstant
public static final ConstantPool.Tag DoubleConstant
public static final ConstantPool.Tag TypeInfo
public static final ConstantPool.Tag StringConstant
public static final ConstantPool.Tag FieldReference
public static final ConstantPool.Tag MethodReference
public static final ConstantPool.Tag InterfaceMethodReference
public static final ConstantPool.Tag NameAndTypeDescriptor
public static final ConstantPool.Tag MethodHandle
public static final ConstantPool.Tag MethodType
public static final ConstantPool.Tag InvokeDynamicInfo
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 static ConstantPool.Tag fromValue(int value)