Save This Page
Home » Open-JDK-6.b17-src » » 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
index,  target,  position
Fields inherited from
length,  opcode
 public GOTO(InstructionHandle target) 
Method from Summary:
accept,   dump,   updatePosition
Methods from
containsTarget,   dispose,   dump,   getIndex,   getTarget,   getTargetOffset,   getTargetOffset,   initFromFile,   notifyTarget,   setTarget,   toString,   updatePosition,   updateTarget
Methods from
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 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.