All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class espresso.classfile.classgen.JSR

java.lang.Object
   |
   +----espresso.classfile.classgen.Instruction
           |
           +----espresso.classfile.classgen.BranchInstruction
                   |
                   +----espresso.classfile.classgen.JSR

public class JSR
extends BranchInstruction
implements VariableLengthInstruction
JSR - Jump to subroutine


Constructor Index

 o JSR()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction().
 o JSR(InstructionHandle)

Method Index

 o dump(DataOutputStream)
Dump instruction as byte code to stream out.
 o updatePosition(int, int)
Called by InstructionList.setPositions when setting the position for every instruction.

Constructors

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

 o JSR
 public JSR(InstructionHandle target)

Methods

 o dump
 public void dump(DataOutputStream out) throws IOException
Dump instruction as byte code to stream out.

Parameters:
out - Output stream
Overrides:
dump in class BranchInstruction
 o updatePosition
 protected int updatePosition(int offset,
                              int max_offset)
Called by InstructionList.setPositions when setting the position for every instruction.

Overrides:
updatePosition in class Instruction

All Packages  Class Hierarchy  This Package  Previous  Next  Index