joeq.Compiler.BytecodeAnalysis
Class Bytecodes.GOTO_W

java.lang.Object
  extended by joeq.Compiler.BytecodeAnalysis.Bytecodes.Instruction
      extended by joeq.Compiler.BytecodeAnalysis.Bytecodes.BranchInstruction
          extended by joeq.Compiler.BytecodeAnalysis.Bytecodes.GotoInstruction
              extended by joeq.Compiler.BytecodeAnalysis.Bytecodes.GOTO_W
All Implemented Interfaces:
Serializable, Cloneable, Bytecodes.InstructionTargeter, Bytecodes.UnconditionalBranch
Enclosing interface:
Bytecodes

public static class Bytecodes.GOTO_W
extends Bytecodes.GotoInstruction
implements Bytecodes.UnconditionalBranch

See Also:
Serialized Form

Field Summary
 
Fields inherited from class joeq.Compiler.BytecodeAnalysis.Bytecodes.BranchInstruction
index, position, target
 
Fields inherited from class joeq.Compiler.BytecodeAnalysis.Bytecodes.Instruction
length, opcode
 
Constructor Summary
Bytecodes.GOTO_W(Bytecodes.InstructionHandle target)
           
 
Method Summary
 void accept(Bytecodes.Visitor v)
          Call corresponding visitor method(s).
 void dump(DataOutputStream out)
          Dump instruction as byte code to stream out.
protected  void initFromFile(jq_ConstantPool cp, jwutil.io.ByteSequence bytes, boolean wide)
          Read needed data (e.g.
 
Methods inherited from class joeq.Compiler.BytecodeAnalysis.Bytecodes.BranchInstruction
containsTarget, getIndex, getTarget, getTargetOffset, getTargetOffset, setTarget, toString, updatePosition, updateTarget
 
Methods inherited from class joeq.Compiler.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
 

Constructor Detail

Bytecodes.GOTO_W

public Bytecodes.GOTO_W(Bytecodes.InstructionHandle target)
Method Detail

dump

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

Overrides:
dump in class Bytecodes.BranchInstruction
Parameters:
out - Output stream
Throws:
IOException

initFromFile

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

Overrides:
initFromFile in class Bytecodes.BranchInstruction
Parameters:
cp - constant pool of class we are reading
bytes - input stream
wide - wide prefix?
Throws:
IOException
See Also:
Bytecodes.InstructionList

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
Parameters:
v - Visitor object


Copyright © 2001-2008 John Whaley. All Rights Reserved.