Top Description Fields Constructors Methods
org.droidparts.dexmaker.dx.io.instructions

public final Class FillArrayDataPayloadDecodedInstruction

extends DecodedInstruction
Class Inheritance

A decoded Dalvik instruction which contains the payload for a packed-switch instruction.

Field Summary

Modifier and TypeField and Description
private final Object
data

data array

private final int
elementWidth

element width

private final int
size

number of elements

Constructor Summary

AccessConstructor and Description
private
FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, Object data, int size, int elementWidth)

Constructs an instance.

public
FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, byte[] data)

Constructs an instance.

public
FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, short[] data)

Constructs an instance.

public
FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, int[] data)

Constructs an instance.

public
FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, long[] data)

Constructs an instance.

Method Summary

Modifier and TypeMethod and Description
public Object
public short
public int
public int
public DecodedInstruction
withIndex(int newIndex)

Implements abstract org.droidparts.dexmaker.dx.io.instructions.DecodedInstruction.withIndex.

Returns an instance just like this one, except with the index replaced with the given one.
Inherited from org.droidparts.dexmaker.dx.io.instructions.DecodedInstruction:
decodedecodeAllencodegetAgetABytegetANibblegetAUnitgetBgetBBytegetBNibblegetBUnitgetCgetCBytegetCNibblegetCUnitgetDgetDBytegetDNibblegetDUnitgetEgetENibblegetFormatgetIndexgetIndexTypegetIndexUnitgetLiteralgetLiteralBytegetLiteralIntgetLiteralNibblegetLiteralUnitgetOpcodegetOpcodeUnitgetRegisterCountUnitgetTargetgetTargetgetTargetBytegetTargetUnit

Field Detail

databack to summary
private final Object data

data array

elementWidthback to summary
private final int elementWidth

element width

sizeback to summary
private final int size

number of elements

Constructor Detail

FillArrayDataPayloadDecodedInstructionback to 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.

FillArrayDataPayloadDecodedInstructionback to summary
public FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, byte[] data)

Constructs an instance.

FillArrayDataPayloadDecodedInstructionback to summary
public FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, short[] data)

Constructs an instance.

FillArrayDataPayloadDecodedInstructionback to summary
public FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, int[] data)

Constructs an instance.

FillArrayDataPayloadDecodedInstructionback to summary
public FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, long[] data)

Constructs an instance.

Method Detail

getDataback to summary
public Object getData()
getElementWidthUnitback to summary
public short getElementWidthUnit()
getRegisterCountback to summary
public int getRegisterCount()

Implements abstract org.droidparts.dexmaker.dx.io.instructions.DecodedInstruction.getRegisterCount.

getSizeback to summary
public int getSize()
withIndexback to summary
public DecodedInstruction withIndex(int newIndex)

Implements abstract org.droidparts.dexmaker.dx.io.instructions.DecodedInstruction.withIndex.

Doc from org.droidparts.dexmaker.dx.io.instructions.DecodedInstruction.withIndex.

Returns an instance just like this one, except with the index replaced with the given one.