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

LineNumberGen Class Reference

List of all members.

Public Methods

 LineNumberGen (InstructionHandle ih, int src_line)
InstructionHandle getInstruction ()
LineNumber getLineNumber (ConstantPoolGen cp)
int getSourceLine ()
void setInstruction (InstructionHandle ih)
void setSourceLine (int src_line)
 LineNumberGen (InstructionHandle ih, int src_line)
InstructionHandle getInstruction ()
LineNumber getLineNumber (ConstantPoolGen cp)
int getSourceLine ()
void setInstruction (InstructionHandle ih)
void setSourceLine (int src_line)

Private Attributes

InstructionHandle ih
int src_line

Detailed Description

This class represents a line number within a method, i.e. give an instruction a line number corresponding to the source code line.

Version:
Id:
LineNumberGen.java,v 1.1.1.1 2002/01/24 03:44:06 pserver Exp
Author:
M. Dahm
See also:
LineNumber , MethodGen

Definition at line 15 of file lib/jpf/de/fub/bytecode/generic/LineNumberGen.java.


Constructor & Destructor Documentation

LineNumberGen::LineNumberGen InstructionHandle   ih,
int   src_line
[inline]
 

Create a line number.

Parameters:
ih   instruction to tag
Returns:
new line number object

Definition at line 25 of file lib/jpf/de/fub/bytecode/generic/LineNumberGen.java.

LineNumberGen::LineNumberGen InstructionHandle   ih,
int   src_line
[inline]
 

Create a line number.

Parameters:
ih   instruction to tag
Returns:
new line number object

Definition at line 25 of file src/de/fub/bytecode/generic/LineNumberGen.java.


Member Function Documentation

LineNumber LineNumberGen::getLineNumber ConstantPoolGen   cp [inline]
 

Get LineNumber object.

This relies on that the instruction list has already been dumped to byte code or or that the `setPositions' methods has been called for the instruction list.

Parameters:
cp   constant pool

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

LineNumber LineNumberGen::getLineNumber ConstantPoolGen   cp [inline]
 

Get LineNumber object.

This relies on that the instruction list has already been dumped to byte code or or that the `setPositions' methods has been called for the instruction list.

Parameters:
cp   constant pool

Definition at line 38 of file lib/jpf/de/fub/bytecode/generic/LineNumberGen.java.


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