public static enum ClassFile.CpInfo extends java.lang.Enum<ClassFile.CpInfo>
Enum Constant and Description |
---|
ConstantClass |
ConstantDouble |
ConstantFloat |
ConstantInteger |
ConstantLong |
ConstantString |
ConstantUtf8 |
FieldRef |
InterfaceMethodRef |
InvokeDynamic |
MethodHandle |
MethodRef |
MethodType |
NameAndType |
Unused_0 |
Unused_13 |
Unused_14 |
Unused_17 |
Unused_2 |
Modifier and Type | Method and Description |
---|---|
static ClassFile.CpInfo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClassFile.CpInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassFile.CpInfo Unused_0
public static final ClassFile.CpInfo ConstantUtf8
public static final ClassFile.CpInfo Unused_2
public static final ClassFile.CpInfo ConstantInteger
public static final ClassFile.CpInfo ConstantFloat
public static final ClassFile.CpInfo ConstantLong
public static final ClassFile.CpInfo ConstantDouble
public static final ClassFile.CpInfo ConstantClass
public static final ClassFile.CpInfo ConstantString
public static final ClassFile.CpInfo FieldRef
public static final ClassFile.CpInfo MethodRef
public static final ClassFile.CpInfo InterfaceMethodRef
public static final ClassFile.CpInfo NameAndType
public static final ClassFile.CpInfo Unused_13
public static final ClassFile.CpInfo Unused_14
public static final ClassFile.CpInfo MethodHandle
public static final ClassFile.CpInfo MethodType
public static final ClassFile.CpInfo Unused_17
public static final ClassFile.CpInfo InvokeDynamic
public static ClassFile.CpInfo[] values()
for (ClassFile.CpInfo c : ClassFile.CpInfo.values()) System.out.println(c);
public static ClassFile.CpInfo 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 null