Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Compil3r.BytecodeAnalysis
Class Bytecodes.TABLESWITCH  view Bytecodes.TABLESWITCH download Bytecodes.TABLESWITCH.java

java.lang.Object
  extended byCompil3r.BytecodeAnalysis.Bytecodes.Instruction
      extended byCompil3r.BytecodeAnalysis.Bytecodes.BranchInstruction
          extended byCompil3r.BytecodeAnalysis.Bytecodes.Select
              extended byCompil3r.BytecodeAnalysis.Bytecodes.TABLESWITCH
All Implemented Interfaces:
Bytecodes.InstructionTargeter, Bytecodes.StackProducer, Bytecodes.VariableLengthInstruction, java.lang.Cloneable, java.io.Serializable
Enclosing class:
Bytecodes

public static class Bytecodes.TABLESWITCH
extends Bytecodes.Select
implements Bytecodes.VariableLengthInstruction, Bytecodes.StackProducer


Field Summary
 
Fields inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Select
fixed_length, indices, match, match_length, padding, targets
 
Fields inherited from class Compil3r.BytecodeAnalysis.Bytecodes.BranchInstruction
index, position, target
 
Fields inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Instruction
length, opcode
 
Constructor Summary
(package private) Bytecodes.TABLESWITCH()
          Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction().
  Bytecodes.TABLESWITCH(int[] match, java.util.ArrayList targets, Bytecodes.InstructionHandle target)
           
 
Method Summary
 void accept(Bytecodes.Visitor v)
          Call corresponding visitor method(s).
 void dump(java.io.DataOutputStream out)
          Dump instruction as byte code to stream out.
protected  void initFromFile(Clazz.jq_ConstantPool cp, Util.IO.ByteSequence bytes, boolean wide)
          Read needed data (e.g.
 
Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Select
containsTarget, dispose, getIndices, getMatchs, getTargets, setTarget, toString, updatePosition, updateTarget
 
Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.BranchInstruction
getIndex, getTarget, getTargetOffset, getTargetOffset, notifyTarget, setTarget
 
Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Instruction
consumeStack, copy, getLength, getOpcode, produceStack, readInstruction, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface Compil3r.BytecodeAnalysis.Bytecodes.StackProducer
produceStack
 

Constructor Detail

Bytecodes.TABLESWITCH

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


Bytecodes.TABLESWITCH

public Bytecodes.TABLESWITCH(int[] match,
                             java.util.ArrayList targets,
                             Bytecodes.InstructionHandle target)
Method Detail

dump

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

Overrides:
dump in class Bytecodes.Select

initFromFile

protected void initFromFile(Clazz.jq_ConstantPool cp,
                            Util.IO.ByteSequence bytes,
                            boolean wide)
                     throws java.io.IOException
Read needed data (e.g. index) from file.

Overrides:
initFromFile in class Bytecodes.Select

accept

public void accept(Bytecodes.Visitor v)
Call corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call methods according to the class hierarchy in descending order, i.e., the most specific visitXXX() call comes last.

Specified by:
accept in class Bytecodes.Instruction