jellyj.classfile.classgen
Class TABLESWITCH

jellyj.classfile.classgen.Instruction
  |
  +--jellyj.classfile.classgen.BranchInstruction
        |
        +--jellyj.classfile.classgen.Select
              |
              +--jellyj.classfile.classgen.TABLESWITCH

public class TABLESWITCH
extends Select

TABLESWITCH - Switch within given range of values, i.e. low..high

Author:
JellyJ Design Group

Constructor Summary
 (package private) TABLESWITCH()
          Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction().
 TABLESWITCH(int[] match, InstructionHandle[] targets, InstructionHandle target)
           

Method Summary
 voiddump(DataOutputStream out)
          Dump instruction as byte code to stream out.

Methods inherited from class jellyj.classfile.classgen.Select
getIndices, getMatchs, getTargets, toString

Methods inherited from class jellyj.classfile.classgen.BranchInstruction
getIndex, getTarget, setTarget

Methods inherited from class jellyj.classfile.classgen.Instruction
consumeStack, copy, getLength, getPosition, getTag, produceStack, readInstruction, setPosition

Constructor Detail

TABLESWITCH

TABLESWITCH()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.

TABLESWITCH

public TABLESWITCH(int[] match, InstructionHandle[] targets, InstructionHandle target)
Method Detail

dump

public void dump(DataOutputStream out)
throws java.io.IOException
Dump instruction as byte code to stream out.
Parameters:
out - Output stream