FileDocCategorySizeDatePackage
PackedSwitchPayloadDecodedInstruction.javaAPI DocAndroid 5.1 API1733Thu Mar 12 22:18:30 GMT 2015com.android.dx.io.instructions

PackedSwitchPayloadDecodedInstruction

public final class PackedSwitchPayloadDecodedInstruction extends DecodedInstruction
A decoded Dalvik instruction which contains the payload for a {@code packed-switch} instruction.

Fields Summary
private final int
firstKey
first key value
private final int[]
targets
array of target addresses. These are absolute, not relative, addresses.
Constructors Summary
public PackedSwitchPayloadDecodedInstruction(InstructionCodec format, int opcode, int firstKey, int[] targets)
Constructs an instance.

        super(format, opcode, 0, null, 0, 0L);

        this.firstKey = firstKey;
        this.targets = targets;
    
Methods Summary
public intgetFirstKey()

        return firstKey;
    
public intgetRegisterCount()

inheritDoc

        return 0;
    
public int[]getTargets()

        return targets;
    
public DecodedInstructionwithIndex(int newIndex)

inheritDoc

        throw new UnsupportedOperationException("no index in instruction");