Home » Open-JDK-6.b17-src » com.sun.org.apache.bcel » internal » generic » [javadoc | source]
public class: GOTO [javadoc | source]

All Implemented Interfaces:
    VariableLengthInstruction, UnconditionalBranch, InstructionTargeter, Cloneable, Serializable

GOTO - Branch always (to relative offset, not absolute address)
Fields inherited from com.sun.org.apache.bcel.internal.generic.BranchInstruction:
index,  target,  position
Fields inherited from com.sun.org.apache.bcel.internal.generic.Instruction:
length,  opcode
 public GOTO(InstructionHandle target) 
Method from com.sun.org.apache.bcel.internal.generic.GOTO Summary:
accept,   dump,   updatePosition
Methods from com.sun.org.apache.bcel.internal.generic.BranchInstruction:
containsTarget,   dispose,   dump,   getIndex,   getTarget,   getTargetOffset,   getTargetOffset,   initFromFile,   notifyTarget,   setTarget,   toString,   updatePosition,   updateTarget
Methods from com.sun.org.apache.bcel.internal.generic.Instruction:
accept,   consumeStack,   copy,   dispose,   dump,   equals,   getComparator,   getLength,   getName,   getOpcode,   initFromFile,   produceStack,   readInstruction,   setComparator,   toString,   toString,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.org.apache.bcel.internal.generic.GOTO Detail:
 public  void accept(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.
 public  void dump(DataOutputStream out) throws IOException 
    Dump instruction as byte code to stream out.
 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.