FillArrayDataPayloadDecodedInstructionpublic final class FillArrayDataPayloadDecodedInstruction extends DecodedInstruction A decoded Dalvik instruction which contains the payload for
a {@code packed-switch} instruction. |
Fields Summary |
---|
private final Object | datadata array | private final int | sizenumber of elements | private final int | elementWidthelement width |
Constructors Summary |
---|
private FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, Object data, int size, int elementWidth)Constructs an instance. This private instance doesn't check the
type of the data array.
super(format, opcode, 0, null, 0, 0L);
this.data = data;
this.size = size;
this.elementWidth = elementWidth;
| public FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, byte[] data)Constructs an instance.
this(format, opcode, data, data.length, 1);
| public FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, short[] data)Constructs an instance.
this(format, opcode, data, data.length, 2);
| public FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, int[] data)Constructs an instance.
this(format, opcode, data, data.length, 4);
| public FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, long[] data)Constructs an instance.
this(format, opcode, data, data.length, 8);
|
Methods Summary |
---|
public java.lang.Object | getData()
return data;
| public short | getElementWidthUnit()
return (short) elementWidth;
| public int | getRegisterCount()
return 0;
| public int | getSize()
return size;
| public DecodedInstruction | withIndex(int newIndex)
throw new UnsupportedOperationException("no index in instruction");
|
|