jellyj.classfile.classgen
Class LOOKUPSWITCH

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

public class LOOKUPSWITCH
extends Select

LOOKUPSWITCH - Switch with unordered set of values

Author:
JellyJ Design Group

Constructor Summary
 (package private) LOOKUPSWITCH()
          Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction().
 LOOKUPSWITCH(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

LOOKUPSWITCH

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

LOOKUPSWITCH

public LOOKUPSWITCH(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