public static enum ClassModel.ConstantPoolType extends java.lang.Enum<ClassModel.ConstantPoolType>
Enum Constant and Description |
---|
CLASS |
DOUBLE |
EMPTY |
FIELD |
FLOAT |
INTEGER |
INTERFACEMETHOD |
LONG |
METHOD |
NAMEANDTYPE |
STRING |
UNICODE |
UTF8 |
Modifier and Type | Method and Description |
---|---|
static ClassModel.ConstantPoolType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClassModel.ConstantPoolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassModel.ConstantPoolType EMPTY
public static final ClassModel.ConstantPoolType UTF8
public static final ClassModel.ConstantPoolType UNICODE
public static final ClassModel.ConstantPoolType INTEGER
public static final ClassModel.ConstantPoolType FLOAT
public static final ClassModel.ConstantPoolType LONG
public static final ClassModel.ConstantPoolType DOUBLE
public static final ClassModel.ConstantPoolType CLASS
public static final ClassModel.ConstantPoolType STRING
public static final ClassModel.ConstantPoolType FIELD
public static final ClassModel.ConstantPoolType METHOD
public static final ClassModel.ConstantPoolType INTERFACEMETHOD
public static final ClassModel.ConstantPoolType NAMEANDTYPE
public static ClassModel.ConstantPoolType[] values()
for (ClassModel.ConstantPoolType c : ClassModel.ConstantPoolType.values()) System.out.println(c);
public static ClassModel.ConstantPoolType 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