Package io.airlift.bytecode
Enum ArrayOpCode
- java.lang.Object
-
- java.lang.Enum<ArrayOpCode>
-
- io.airlift.bytecode.ArrayOpCode
-
- All Implemented Interfaces:
Serializable,Comparable<ArrayOpCode>
public enum ArrayOpCode extends Enum<ArrayOpCode>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ArrayOpCodegetArrayOpCode(ParameterizedType type)intgetAtype()OpCodegetLoad()OpCodegetStore()Class<?>getType()static ArrayOpCodevalueOf(String name)Returns the enum constant of this type with the specified name.static ArrayOpCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_PRIMITIVE
public static final ArrayOpCode NOT_PRIMITIVE
-
BYTE
public static final ArrayOpCode BYTE
-
BOOLEAN
public static final ArrayOpCode BOOLEAN
-
CHAR
public static final ArrayOpCode CHAR
-
SHORT
public static final ArrayOpCode SHORT
-
INT
public static final ArrayOpCode INT
-
LONG
public static final ArrayOpCode LONG
-
FLOAT
public static final ArrayOpCode FLOAT
-
DOUBLE
public static final ArrayOpCode DOUBLE
-
-
Method Detail
-
values
public static ArrayOpCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ArrayOpCode c : ArrayOpCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArrayOpCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getLoad
public OpCode getLoad()
-
getStore
public OpCode getStore()
-
getAtype
public int getAtype()
-
getType
public Class<?> getType()
-
getArrayOpCode
public static ArrayOpCode getArrayOpCode(ParameterizedType type)
-
-