public enum NewArrayType extends Enum<NewArrayType>
Opcode.NEWARRAY
opcode.Enum Constant and Description |
---|
BOOLEAN |
BYTE |
CHAR |
DOUBLE |
FLOAT |
INT |
LONG |
SHORT |
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Returns the immediate byte value.
|
static NewArrayType |
getFromCode(int code) |
String |
getVerbose()
Returns the verbose representation.
|
static NewArrayType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NewArrayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NewArrayType BOOLEAN
public static final NewArrayType CHAR
public static final NewArrayType FLOAT
public static final NewArrayType DOUBLE
public static final NewArrayType BYTE
public static final NewArrayType SHORT
public static final NewArrayType INT
public static final NewArrayType LONG
public static NewArrayType[] values()
for (NewArrayType c : NewArrayType.values()) System.out.println(c);
public static NewArrayType 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 NewArrayType getFromCode(int code)
public int getCode()
public String getVerbose()