Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.chaoswg.xtc4y.classdesc
Class LineNumberTableEntry  view LineNumberTableEntry download LineNumberTableEntry.java

java.lang.Object
  extended bycom.chaoswg.xtc4y.classdesc.LineNumberTableEntry
All Implemented Interfaces:
CodeCompatible

public class LineNumberTableEntry
extends java.lang.Object
implements CodeCompatible

this class represents an antry in the linevariabletable attribute, described in §4.7.8


Field Summary
private  short lineNumber
           
private  com.chaoswg.xtc4y.classdesc.code.instructions.Instruction startInstr
           
private  short startPc
           
 
Constructor Summary
protected LineNumberTableEntry(java.io.DataInputStream dis, ConstantPool cp)
          Creates a LineNumberTableEntry and initializes it from a DataInputStream
 
Method Summary
 void readIndices(com.chaoswg.xtc4y.classdesc.code.Code code)
          Called to resolve indices on instructions from the code table
 void resolveIndices(com.chaoswg.xtc4y.classdesc.code.Code code)
          Called to resolve the temporary stored indices into the code table
protected  void writeEntry(java.io.DataOutputStream dos, ConstantPool cp)
          Write the attribute information onto the DataOutputStream, using the constant pool to register variables.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startPc

private short startPc

lineNumber

private short lineNumber

startInstr

private com.chaoswg.xtc4y.classdesc.code.instructions.Instruction startInstr
Constructor Detail

LineNumberTableEntry

protected LineNumberTableEntry(java.io.DataInputStream dis,
                               ConstantPool cp)
                        throws java.io.IOException
Creates a LineNumberTableEntry and initializes it from a DataInputStream

Method Detail

writeEntry

protected void writeEntry(java.io.DataOutputStream dos,
                          ConstantPool cp)
                   throws java.io.IOException
Write the attribute information onto the DataOutputStream, using the constant pool to register variables. .


resolveIndices

public void resolveIndices(com.chaoswg.xtc4y.classdesc.code.Code code)
Called to resolve the temporary stored indices into the code table

Specified by:
resolveIndices in interface CodeCompatible

readIndices

public void readIndices(com.chaoswg.xtc4y.classdesc.code.Code code)
Called to resolve indices on instructions from the code table

Specified by:
readIndices in interface CodeCompatible