All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class harpoon.ClassFile.Raw.Attribute.LineNumberTable

java.lang.Object
   |
   +----harpoon.ClassFile.Raw.Attribute.LineNumberTable

public class LineNumberTable
extends Object
Each object indicates that the line number in the original Java source file changes at a given point in the code array.

Version:
$Id: LineNumberTable.java,v 1.2 1998/10/11 03:01:13 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>
See Also:
AttributeLineNumberTable

Variable Index

 o line_number
The value of the line_number item must give the corresponding line number in the original Java source file.
 o start_pc
The value of the start_pc item must indicate the index into the code array at which the code for a new line in the original Java source file begins.

Constructor Index

 o LineNumberTable(int, int)
Constructor.

Method Index

 o toString()
Human-readable string:
 o write(ClassDataOutputStream)
Writes to bytecode stream.

Variables

 o start_pc
 public int start_pc
The value of the start_pc item must indicate the index into the code array at which the code for a new line in the original Java source file begins. The value of start_pc must be less than the value of the code_length item of the Code attribute of which this LineNumberTable is an attribute.

 o line_number
 public int line_number
The value of the line_number item must give the corresponding line number in the original Java source file.

Constructors

 o LineNumberTable
 public LineNumberTable(int start_pc,
                        int line_number)
Constructor.

Methods

 o write
 public void write(ClassDataOutputStream out) throws IOException
Writes to bytecode stream.

 o toString
 public String toString()
Human-readable string:

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index