public static enum ConstantPoolEntry.Type extends java.lang.Enum<ConstantPoolEntry.Type>
Enum Constant and Description |
---|
CPT_Class |
CPT_Double |
CPT_DynamicInfo |
CPT_FieldRef |
CPT_Float |
CPT_Integer |
CPT_InterfaceMethodRef |
CPT_InvokeDynamic |
CPT_Long |
CPT_MethodHandle |
CPT_MethodRef |
CPT_MethodType |
CPT_ModuleInfo |
CPT_NameAndType |
CPT_PackageInfo |
CPT_String |
CPT_UTF8 |
Modifier and Type | Field and Description |
---|---|
private static byte |
VAL_Class |
private static byte |
VAL_Double |
private static byte |
VAL_DynamicInfo |
private static byte |
VAL_FieldRef |
private static byte |
VAL_Float |
private static byte |
VAL_Integer |
private static byte |
VAL_InterfaceMethodRef |
private static byte |
VAL_InvokeDynamic |
private static byte |
VAL_Long |
private static byte |
VAL_MethodHandle |
private static byte |
VAL_MethodRef |
private static byte |
VAL_MethodType |
private static byte |
VAL_ModuleInfo |
private static byte |
VAL_NameAndType |
private static byte |
VAL_PackageInfo |
private static byte |
VAL_String |
private static byte |
VAL_UTF8 |
Modifier and Type | Method and Description |
---|---|
static ConstantPoolEntry.Type |
get(byte val) |
static ConstantPoolEntry.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConstantPoolEntry.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstantPoolEntry.Type CPT_UTF8
public static final ConstantPoolEntry.Type CPT_Integer
public static final ConstantPoolEntry.Type CPT_Float
public static final ConstantPoolEntry.Type CPT_Long
public static final ConstantPoolEntry.Type CPT_Double
public static final ConstantPoolEntry.Type CPT_Class
public static final ConstantPoolEntry.Type CPT_String
public static final ConstantPoolEntry.Type CPT_FieldRef
public static final ConstantPoolEntry.Type CPT_MethodRef
public static final ConstantPoolEntry.Type CPT_InterfaceMethodRef
public static final ConstantPoolEntry.Type CPT_NameAndType
public static final ConstantPoolEntry.Type CPT_MethodHandle
public static final ConstantPoolEntry.Type CPT_MethodType
public static final ConstantPoolEntry.Type CPT_DynamicInfo
public static final ConstantPoolEntry.Type CPT_InvokeDynamic
public static final ConstantPoolEntry.Type CPT_ModuleInfo
public static final ConstantPoolEntry.Type CPT_PackageInfo
private static final byte VAL_UTF8
private static final byte VAL_Integer
private static final byte VAL_Float
private static final byte VAL_Long
private static final byte VAL_Double
private static final byte VAL_Class
private static final byte VAL_String
private static final byte VAL_FieldRef
private static final byte VAL_MethodRef
private static final byte VAL_InterfaceMethodRef
private static final byte VAL_NameAndType
private static final byte VAL_MethodHandle
private static final byte VAL_MethodType
private static final byte VAL_DynamicInfo
private static final byte VAL_InvokeDynamic
private static final byte VAL_ModuleInfo
private static final byte VAL_PackageInfo
public static ConstantPoolEntry.Type[] values()
for (ConstantPoolEntry.Type c : ConstantPoolEntry.Type.values()) System.out.println(c);
public static ConstantPoolEntry.Type 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 ConstantPoolEntry.Type get(byte val)