FileDocCategorySizeDatePackage
JSR_W.javaAPI DocJava SE 6 API4209Tue Jun 10 00:22:20 BST 2008com.sun.org.apache.bcel.internal.generic

JSR_W

public class JSR_W extends JsrInstruction
JSR_W - Jump to subroutine
version
$Id: JSR_W.java,v 1.1.2.1 2005/07/31 23:45:25 jeffsuttor Exp $
author
M. Dahm

Fields Summary
Constructors Summary
JSR_W()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.

public JSR_W(InstructionHandle target)

    super(com.sun.org.apache.bcel.internal.Constants.JSR_W, target);
    length = 5;
  
Methods Summary
public voidaccept(com.sun.org.apache.bcel.internal.generic.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.

param
v Visitor object

    v.visitStackProducer(this);
    v.visitBranchInstruction(this);
    v.visitJsrInstruction(this);
    v.visitJSR_W(this);
  
public voiddump(java.io.DataOutputStream out)
Dump instruction as byte code to stream out.

param
out Output stream

    index = getTargetOffset();
    out.writeByte(opcode);
    out.writeInt(index);
  
protected voidinitFromFile(com.sun.org.apache.bcel.internal.util.ByteSequence bytes, boolean wide)
Read needed data (e.g. index) from file.

    index = bytes.readInt();
    length = 5;