public static enum ClassFile.CpInfo extends Enum<ClassFile.CpInfo>
Enum Constant and Description |
---|
ConstantClass |
ConstantDouble |
ConstantFloat |
ConstantInteger |
ConstantLong |
ConstantString |
ConstantUtf8 |
FieldRef |
InterfaceMethodRef |
MethodRef |
NameAndType |
Unused_0 |
Unused_2 |
Modifier and Type | Method and Description |
---|---|
static ClassFile.CpInfo |
valueOf(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 ClassFile.CpInfo[] values()
for (ClassFile.CpInfo c : ClassFile.CpInfo.values()) System.out.println(c);
public static ClassFile.CpInfo 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 null