harpoon.IR.Tree
Class Data

java.lang.Object
  extended by harpoon.ClassFile.HData
      extended by harpoon.IR.Tree.Data
Direct Known Subclasses:
Data

public abstract class Data
extends HData

Data is an abstract implementation of HData for IR.Tree form.

Version:
$Id: Data.java,v 1.4 2002/08/31 00:24:58 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Nested Class Summary
protected  class Data.TreeFactory
          Create a proper TreeFactory.
 
Field Summary
protected  String desc
           
protected  Frame frame
           
protected  int modCount
          Keep track of modifications to this Data so that the getElementsI() Iterator can fail-fast.
protected  Data.TreeFactory tf
           
 
Constructor Summary
protected Data(String desc, Frame f)
           
 
Method Summary
 String getDesc()
           
 void print(PrintWriter pw, HCode.PrintCallback callback)
          Print a human-readable representation of this dataview
 
Methods inherited from class harpoon.ClassFile.HData
clone, getElementsI, getElementsL, getHClass, getRootElement, print
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

desc

protected final String desc

frame

protected final Frame frame

tf

protected final Data.TreeFactory tf

modCount

protected int modCount
Keep track of modifications to this Data so that the getElementsI() Iterator can fail-fast.

Constructor Detail

Data

protected Data(String desc,
               Frame f)
Method Detail

getDesc

public String getDesc()

print

public void print(PrintWriter pw,
                  HCode.PrintCallback callback)
Print a human-readable representation of this dataview

Specified by:
print in class HData