de.fub.bytecode.generic
Class GOTO_W

java.lang.Object
  |
  +--de.fub.bytecode.generic.Instruction
        |
        +--de.fub.bytecode.generic.BranchInstruction
              |
              +--de.fub.bytecode.generic.GOTO_W

public class GOTO_W
extends BranchInstruction
implements UnconditionalBranch

GOTO_W - Branch always (offset, not address)

Version:
$Id: GOTO_W.java,v 1.3 1999/05/04 13:13:32 dahm Exp $
Author:
M. Dahm
See Also:
Serialized Form

Fields inherited from class de.fub.bytecode.generic.BranchInstruction
index, position, target
 
Fields inherited from class de.fub.bytecode.generic.Instruction
length, tag
 
Constructor Summary
GOTO_W(InstructionHandle target)
           
 
Method Summary
 void dump(java.io.DataOutputStream out)
          Dump instruction as byte code to stream out.
protected  void initFromFile(ByteSequence bytes, boolean wide)
          Read needed data (e.g.
 
Methods inherited from class de.fub.bytecode.generic.BranchInstruction
containsTarget, getTarget, getTargetOffset, getTargetOffset, setTarget, toString, updatePosition, updateTarget
 
Methods inherited from class de.fub.bytecode.generic.Instruction
consumeStack, consumeStack, copy, getLength, getTag, produceStack, produceStack, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GOTO_W

public GOTO_W(InstructionHandle target)
Method Detail

dump

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

initFromFile

protected void initFromFile(ByteSequence bytes,
                            boolean wide)
                     throws java.io.IOException
Read needed data (e.g. index) from file.
Overrides:
initFromFile in class BranchInstruction