Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

JSR Class Reference

Inheritance diagram for JSR:
[legend]
Collaboration diagram for JSR:
[legend]
List of all members.

Public Methods

 JSR (InstructionHandle target)
void dump (DataOutputStream out) throws IOException
InstructionHandle execute (SystemState ss, KernelState ks, ThreadInfo th)
void setPeer (de.fub.bytecode.generic.Instruction i)
 JSR (InstructionHandle target)
void accept (Visitor v)
void dump (DataOutputStream out) throws IOException
Instruction execute (SystemState ss, KernelState ks, ThreadInfo th)
void setPeer (de.fub.bytecode.generic.Instruction i, ConstantPool cp)

Protected Methods

int updatePosition (int offset, int max_offset)
int updatePosition (int offset, int max_offset)

Private Methods

 JSR ()
 JSR ()

Private Attributes

de fub bytecode generic JSR peer
int target

Detailed Description

JSR - Jump to subroutine

Version:
Id:
JSR.java,v 1.1.1.1 2002/01/24 03:44:03 pserver Exp
Author:
M. Dahm

Definition at line 11 of file lib/jpf/de/fub/bytecode/generic/JSR.java.


Constructor & Destructor Documentation

JSR::JSR   [inline, private]
 

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

Definition at line 16 of file lib/jpf/de/fub/bytecode/generic/JSR.java.

JSR::JSR   [inline, private]
 

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

Definition at line 16 of file src/de/fub/bytecode/generic/JSR.java.


Member Function Documentation

void JSR::accept Visitor   v [inline, virtual]
 

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 object

Reimplemented from Instruction.

Definition at line 28 of file src/de/fub/bytecode/generic/JSR.java.

void JSR::dump DataOutputStream   out [inline]
 

Dump instruction as byte code to stream out.

Parameters:
out   Output stream

Reimplemented from BranchInstruction.

Definition at line 38 of file src/de/fub/bytecode/generic/JSR.java.

void JSR::dump DataOutputStream   out [inline]
 

Dump instruction as byte code to stream out.

Parameters:
out   Output stream

Reimplemented from BranchInstruction.

Definition at line 24 of file lib/jpf/de/fub/bytecode/generic/JSR.java.

int JSR::updatePosition int   offset,
int   max_offset
[inline, protected]
 

Called by InstructionList.setPositions when setting the position for every instruction. In the presence of variable length instructions `setPositions' performs multiple passes over the instruction list to calculate the correct (byte) positions and offsets by calling this function.

Parameters:
offset   additional offset caused by preceding (variable length) instructions
max_offset   the maximum offset that may be caused by these instructions
Returns:
additional offset caused by possible change of this instruction's length

Reimplemented from BranchInstruction.

Definition at line 48 of file src/de/fub/bytecode/generic/JSR.java.

int JSR::updatePosition int   offset,
int   max_offset
[inline, protected]
 

Called by InstructionList.setPositions when setting the position for every instruction. In the presence of variable length instructions `setPositions' performs multiple passes over the instruction list to calculate the correct (byte) positions and offsets by calling this function.

Parameters:
offset   additional offset caused by preceding (variable length) instructions
max_offset   the maximum offset that may be caused by these instructions
Returns:
additional offset caused by possible change of this instruction's length

Reimplemented from BranchInstruction.

Definition at line 34 of file lib/jpf/de/fub/bytecode/generic/JSR.java.


The documentation for this class was generated from the following files:
Generated at Thu Feb 7 07:18:01 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001