All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class BIT.highBIT.InstructionTableswitch

java.lang.Object
   |
   +----BIT.highBIT.Instruction
           |
           +----BIT.highBIT.InstructionTableswitch

public class InstructionTableswitch
extends Instruction
Represents tableswitch JVM instruction.

See Also:
Instruction

Constructor Index

 o InstructionTableswitch(int, DataInputStream, int, Routine)
Constructor for Instructiontableswitch class.

Method Index

 o getDefault()
 o getHigh()
 o getJumpOffsetCount()
 o getJumpOffsets()
 o getLength()
Returns the length (in bytes) of this instruction including opcode.
 o getLow()
 o setDefault(int)
 o write(DataOutputStream)

Constructors

 o InstructionTableswitch
 public InstructionTableswitch(int opcode,
                               DataInputStream iStream,
                               int offset,
                               Routine routine)
Constructor for Instructiontableswitch class.

Parameters:
opcode - the opcode of this instruction
iStream - the data input stream where the operands are gotten from
byte_count - represents the number of bytes read so far from the beginning of the code buffer (this is needed to compute number of pads)

Methods

 o write
 public void write(DataOutputStream oStream)
Overrides:
write in class Instruction
 o getLength
 public int getLength()
Returns the length (in bytes) of this instruction including opcode.

Overrides:
getLength in class Instruction
 o getJumpOffsetCount
 public int getJumpOffsetCount()
 o getJumpOffsets
 public int[] getJumpOffsets()
 o getDefault
 public int getDefault()
 o setDefault
 public void setDefault(int def)
 o getLow
 public int getLow()
 o getHigh
 public int getHigh()

All Packages  Class Hierarchy  This Package  Previous  Next  Index