Top Description Constructors Methods
org.apache.bcel.generic

public Class JSR_W

extends JsrInstruction
Class Inheritance
Imports
java.io.DataOutputStream, .IOException, org.apache.bcel.util.ByteSequence

JSR_W - Jump to subroutine

Constructor Summary

AccessConstructor and Description
pack-priv
JSR_W()

Empty constructor needed for Instruction.readInstruction.

public
JSR_W(final InstructionHandle target)

Method Summary

Modifier and TypeMethod and Description
public void
accept(final Visitor
Visitor object
v
)

Implements abstract org.apache.bcel.generic.Instruction.accept.

Call corresponding visitor method(s).
public void
dump(final DataOutputStream
Output stream
out
)

Overrides org.apache.bcel.generic.BranchInstruction.dump.

Dump instruction as byte code to stream out.
protected void
initFromFile(final ByteSequence
input stream
bytes
,
final boolean
wide prefix?
wide
)

Overrides org.apache.bcel.generic.BranchInstruction.initFromFile.

Read needed data (e.g. index) from file.
Inherited from org.apache.bcel.generic.JsrInstruction:
getTypephysicalSuccessor

Constructor Detail

JSR_Wback to summary
pack-priv JSR_W()

Empty constructor needed for Instruction.readInstruction. Not to be used otherwise.

JSR_Wback to summary
public JSR_W(final InstructionHandle target)

Method Detail

acceptback to summary
public void accept(final Visitor v)

Implements abstract org.apache.bcel.generic.Instruction.accept.

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.

Parameters
v:Visitor

Visitor object

Annotations
@Override
dumpback to summary
public void dump(final DataOutputStream out) throws IOException

Overrides org.apache.bcel.generic.BranchInstruction.dump.

Dump instruction as byte code to stream out.

Parameters
out:DataOutputStream

Output stream

Annotations
@Override
Exceptions
IOException:

Doc from org.apache.bcel.generic.Instruction.dump.

Thrown when an I/O exception of some sort has occurred.

initFromFileback to summary
protected void initFromFile(final ByteSequence bytes, final boolean wide) throws IOException

Overrides org.apache.bcel.generic.BranchInstruction.initFromFile.

Read needed data (e.g. index) from file.

Parameters
bytes:ByteSequence

Doc from org.apache.bcel.generic.BranchInstruction.initFromFile.

input stream

wide:boolean

Doc from org.apache.bcel.generic.BranchInstruction.initFromFile.

wide prefix?

Annotations
@Override
Exceptions
IOException:

Doc from org.apache.bcel.generic.Instruction.initFromFile.

may be thrown if the implementation needs to read data from the file