Class OpcodeInfo
java.lang.Object
com.android.dx.io.OpcodeInfo
Information about each Dalvik opcode.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infopseudo-opcode used for nonstandard formatted "instructions" (which are mostly not actually instructions, though they do appear in instruction lists).static final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Infostatic final OpcodeInfo.Info -
Method Summary
Modifier and TypeMethodDescriptionstatic OpcodeInfo.Infoget(int opcode) Gets theOpcodeInfo.Infofor the given opcode value.static InstructionCodecgetFormat(int opcode) Gets the format (anInstructionCodec) for the given opcode value.static IndexTypegetIndexType(int opcode) Gets theIndexTypefor the given opcode value.static StringgetName(int opcode) Gets the name of the given opcode.
-
Field Details
-
SPECIAL_FORMAT
pseudo-opcode used for nonstandard formatted "instructions" (which are mostly not actually instructions, though they do appear in instruction lists). TODO: Retire the usage of this constant. -
PACKED_SWITCH_PAYLOAD
-
SPARSE_SWITCH_PAYLOAD
-
FILL_ARRAY_DATA_PAYLOAD
-
NOP
-
MOVE
-
MOVE_FROM16
-
MOVE_16
-
MOVE_WIDE
-
MOVE_WIDE_FROM16
-
MOVE_WIDE_16
-
MOVE_OBJECT
-
MOVE_OBJECT_FROM16
-
MOVE_OBJECT_16
-
MOVE_RESULT
-
MOVE_RESULT_WIDE
-
MOVE_RESULT_OBJECT
-
MOVE_EXCEPTION
-
RETURN_VOID
-
RETURN
-
RETURN_WIDE
-
RETURN_OBJECT
-
CONST_4
-
CONST_16
-
CONST
-
CONST_HIGH16
-
CONST_WIDE_16
-
CONST_WIDE_32
-
CONST_WIDE
-
CONST_WIDE_HIGH16
-
CONST_STRING
-
CONST_STRING_JUMBO
-
CONST_CLASS
-
MONITOR_ENTER
-
MONITOR_EXIT
-
CHECK_CAST
-
INSTANCE_OF
-
ARRAY_LENGTH
-
NEW_INSTANCE
-
NEW_ARRAY
-
FILLED_NEW_ARRAY
-
FILLED_NEW_ARRAY_RANGE
-
FILL_ARRAY_DATA
-
THROW
-
GOTO
-
GOTO_16
-
GOTO_32
-
PACKED_SWITCH
-
SPARSE_SWITCH
-
CMPL_FLOAT
-
CMPG_FLOAT
-
CMPL_DOUBLE
-
CMPG_DOUBLE
-
CMP_LONG
-
IF_EQ
-
IF_NE
-
IF_LT
-
IF_GE
-
IF_GT
-
IF_LE
-
IF_EQZ
-
IF_NEZ
-
IF_LTZ
-
IF_GEZ
-
IF_GTZ
-
IF_LEZ
-
AGET
-
AGET_WIDE
-
AGET_OBJECT
-
AGET_BOOLEAN
-
AGET_BYTE
-
AGET_CHAR
-
AGET_SHORT
-
APUT
-
APUT_WIDE
-
APUT_OBJECT
-
APUT_BOOLEAN
-
APUT_BYTE
-
APUT_CHAR
-
APUT_SHORT
-
IGET
-
IGET_WIDE
-
IGET_OBJECT
-
IGET_BOOLEAN
-
IGET_BYTE
-
IGET_CHAR
-
IGET_SHORT
-
IPUT
-
IPUT_WIDE
-
IPUT_OBJECT
-
IPUT_BOOLEAN
-
IPUT_BYTE
-
IPUT_CHAR
-
IPUT_SHORT
-
SGET
-
SGET_WIDE
-
SGET_OBJECT
-
SGET_BOOLEAN
-
SGET_BYTE
-
SGET_CHAR
-
SGET_SHORT
-
SPUT
-
SPUT_WIDE
-
SPUT_OBJECT
-
SPUT_BOOLEAN
-
SPUT_BYTE
-
SPUT_CHAR
-
SPUT_SHORT
-
INVOKE_VIRTUAL
-
INVOKE_SUPER
-
INVOKE_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
-
SHL_LONG_2ADDR
-
SHR_LONG_2ADDR
-
USHR_LONG_2ADDR
-
ADD_FLOAT_2ADDR
-
SUB_FLOAT_2ADDR
-
MUL_FLOAT_2ADDR
-
DIV_FLOAT_2ADDR
-
REM_FLOAT_2ADDR
-
ADD_DOUBLE_2ADDR
-
SUB_DOUBLE_2ADDR
-
MUL_DOUBLE_2ADDR
-
DIV_DOUBLE_2ADDR
-
REM_DOUBLE_2ADDR
-
ADD_INT_LIT16
-
RSUB_INT
-
MUL_INT_LIT16
-
DIV_INT_LIT16
-
REM_INT_LIT16
-
AND_INT_LIT16
-
OR_INT_LIT16
-
XOR_INT_LIT16
-
ADD_INT_LIT8
-
RSUB_INT_LIT8
-
MUL_INT_LIT8
-
DIV_INT_LIT8
-
REM_INT_LIT8
-
AND_INT_LIT8
-
OR_INT_LIT8
-
XOR_INT_LIT8
-
SHL_INT_LIT8
-
SHR_INT_LIT8
-
USHR_INT_LIT8
-
INVOKE_POLYMORPHIC
-
INVOKE_POLYMORPHIC_RANGE
-
INVOKE_CUSTOM
-
INVOKE_CUSTOM_RANGE
-
CONST_METHOD_HANDLE
-
CONST_METHOD_TYPE
-
-
Method Details
-
get
Gets theOpcodeInfo.Infofor the given opcode value.- Parameters:
opcode-Opcodes.MIN_VALUE..Opcodes.MAX_VALUE;the opcode value- Returns:
- non-null; the associated opcode information instance
-
getName
Gets the name of the given opcode. -
getFormat
Gets the format (anInstructionCodec) for the given opcode value. -
getIndexType
-