Class DexBackedArrayPayload
- java.lang.Object
-
- org.jf.dexlib2.dexbacked.instruction.DexBackedInstruction
-
- org.jf.dexlib2.dexbacked.instruction.DexBackedArrayPayload
-
- All Implemented Interfaces:
ArrayPayload
,Instruction
,PayloadInstruction
public class DexBackedArrayPayload extends DexBackedInstruction implements ArrayPayload
-
-
Field Summary
Fields Modifier and Type Field Description int
elementCount
int
elementWidth
static Opcode
OPCODE
-
Fields inherited from class org.jf.dexlib2.dexbacked.instruction.DexBackedInstruction
dexFile, instructionStart, opcode
-
-
Constructor Summary
Constructors Constructor Description DexBackedArrayPayload(DexBackedDexFile dexFile, int instructionStart)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Number>
getArrayElements()
int
getCodeUnits()
Gets the size of this instruction.int
getElementWidth()
-
Methods inherited from class org.jf.dexlib2.dexbacked.instruction.DexBackedInstruction
getOpcode, readFrom
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jf.dexlib2.iface.instruction.Instruction
getOpcode
-
-
-
-
Field Detail
-
OPCODE
public static final Opcode OPCODE
-
elementWidth
public final int elementWidth
-
elementCount
public final int elementCount
-
-
Constructor Detail
-
DexBackedArrayPayload
public DexBackedArrayPayload(@Nonnull DexBackedDexFile dexFile, int instructionStart)
-
-
Method Detail
-
getElementWidth
public int getElementWidth()
- Specified by:
getElementWidth
in interfaceArrayPayload
-
getArrayElements
@Nonnull public java.util.List<java.lang.Number> getArrayElements()
- Specified by:
getArrayElements
in interfaceArrayPayload
-
getCodeUnits
public int getCodeUnits()
Description copied from interface:Instruction
Gets the size of this instruction.- Specified by:
getCodeUnits
in interfaceInstruction
- Overrides:
getCodeUnits
in classDexBackedInstruction
- Returns:
- The size of this instruction, as a count of the number of 16-bit code units that make up this instruction.
-
-