All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----harpoon.IR.Bytecode.Instr | +----harpoon.IR.Bytecode.InCti | +----harpoon.IR.Bytecode.InSwitch
InSwitch
is used for the tableswitch
and
lookupswitch
java bytecode instructions.
It is a control-transfer instruction. It should have exactly
one predecessor. The first successor will be the default
target; each subsequent successor corresponds to a case
of the switch statement; the match key can be looked up using the
key
method.
InSwitch.key(n)
corresponds to
InSwitch.next()[n]
for
0
toString()
public InSwitch(String sourcefile, int linenumber, byte code[], int pc)
InSwitch
from a chunk of
bytecode starting at the given pc.
code[pc]
doesn't
correspond to a tableswitch
or
lookupswitch
.
public int key(int index)
InSwitch.key(n)
corresponds to
InSwitch.next()[n]
for
0
public String toString()
All Packages Class Hierarchy This Package Previous Next Index