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>
-
ClassHierarchy(HMethod)
- Creates a
ClassHierarchy
of all classes
reachable/usable from method root
.
-
children(HClass)
- Returns all usable/reachable children of an HClass.
-
classes()
- Returns an enumeration of all reachable/usable classes.
-
parent(HClass)
- Returns the parent of an HClass.
-
toString()
- Returns a human-readable representation of the hierarchy.
ClassHierarchy
public ClassHierarchy(HMethod root)
- Creates a
ClassHierarchy
of all classes
reachable/usable from method root
.
children
public HClass[] children(HClass c)
- Returns all usable/reachable children of an HClass.
parent
public HClass parent(HClass c)
- Returns the parent of an HClass.
classes
public Enumeration classes()
- Returns an enumeration of all reachable/usable classes.
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