FileDocCategorySizeDatePackage
JSR_W.javaAPI DocJava SE 5 API4206Fri Aug 26 14:55:22 BST 2005com.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.1.1 2001/10/29 20:00:20 jvanzyl 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;