public static enum ConstantPoolEntry.Type extends 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 | Method and Description |
---|---|
static ConstantPoolEntry.Type |
get(byte val) |
static ConstantPoolEntry.Type |
valueOf(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
public static ConstantPoolEntry.Type[] values()
for (ConstantPoolEntry.Type c : ConstantPoolEntry.Type.values()) System.out.println(c);
public static ConstantPoolEntry.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ConstantPoolEntry.Type get(byte val)
Copyright © 2011-2021. All Rights Reserved.