at.dms.classfile
Class LineNumberTable

java.lang.Object
  extended by at.dms.classfile.Attribute
      extended by at.dms.classfile.LineNumberTable

public class LineNumberTable
extends Attribute

VMS 4.7.8: Line Number Table Attribute. This attribute represents a mapping between he Java Virtual Machine code array and the line number in the original Java source file


Field Summary
 
Fields inherited from class at.dms.classfile.Attribute
EMPTY
 
Constructor Summary
LineNumberTable(DataInput in, ConstantPool cp, Instruction[] insns)
          Constructs a line number table attribute from a class file stream.
LineNumberTable(LineNumberInfo[] entries)
          Create a line number table attribute.
 
Method Summary
 
Methods inherited from class at.dms.classfile.Attribute
read, readCodeInfoAttribute, readInterfaceOnly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineNumberTable

public LineNumberTable(LineNumberInfo[] entries)
Create a line number table attribute.


LineNumberTable

public LineNumberTable(DataInput in,
                       ConstantPool cp,
                       Instruction[] insns)
                throws IOException
Constructs a line number table attribute from a class file stream.

Parameters:
in - the stream to read from
cp - the constant pool
insns - (sparse) array of instructions
Throws:
IOException - an io problem has occured