All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class de.fub.bytecode.generic.GOTO

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

public class GOTO
extends BranchInstruction
implements VariableLengthInstruction, UnconditionalBranch
GOTO - Branch always (offset, not address)

Version:
$Id: GOTO.java,v 1.2 1999/05/04 13:13:31 dahm Exp $
Author:
M. Dahm

Constructor Index

 o GOTO(InstructionHandle)

Method Index

 o dump(DataOutputStream)
Dump instruction as byte code to stream out.
 o updatePosition(int, int)
Called in pass 2 of InstructionList.setPositions() in order to update the branch target, that may shift due to variable length instructions.

Constructors

 o GOTO
 public GOTO(InstructionHandle target)

Methods

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

Parameters:
out - Output stream
Overrides:
dump in class BranchInstruction
 o updatePosition
 protected int updatePosition(int offset,
                              int max_offset)
Called in pass 2 of InstructionList.setPositions() in order to update the branch target, that may shift due to variable length instructions.

Overrides:
updatePosition in class BranchInstruction

All Packages  Class Hierarchy  This Package  Previous  Next  Index