All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class harpoon.Analysis.QuadSSA.ClassHierarchy

java.lang.Object
   |
   +----harpoon.Analysis.QuadSSA.ClassHierarchy

public class ClassHierarchy
extends Object
ClassHierarchy computes the class hierarchy of *reachable* classes; that is, classes possibly usable starting from some root method. Native methods are not analyzed.

Version:
$Id: ClassHierarchy.java,v 1.4 1998/10/16 12:09:23 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Constructor Index

 o ClassHierarchy(HMethod)
Creates a ClassHierarchy of all classes reachable/usable from method root.

Method Index

 o children(HClass)
Returns all usable/reachable children of an HClass.
 o classes()
Returns an enumeration of all reachable/usable classes.
 o parent(HClass)
Returns the parent of an HClass.
 o toString()
Returns a human-readable representation of the hierarchy.

Constructors

 o ClassHierarchy
 public ClassHierarchy(HMethod root)
Creates a ClassHierarchy of all classes reachable/usable from method root.

Methods

 o children
 public HClass[] children(HClass c)
Returns all usable/reachable children of an HClass.

 o parent
 public HClass parent(HClass c)
Returns the parent of an HClass.

 o classes
 public Enumeration classes()
Returns an enumeration of all reachable/usable classes.

 o toString
 public String toString()
Returns a human-readable representation of the hierarchy.

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index