Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ClassHierarchy Class Reference

List of all members.

Public Methods

TypeNode getTypeNode (Type type)
String toString ()

Static Public Methods

ClassHierarchy getClassHierarchy (SootClassManager classManager)

Private Methods

 ClassHierarchy (SootClassManager classManager)

Private Attributes

SootClassManager classManager
Vector typeNodeInstances = new Vector()
Hashtable typeNodeHashtable = new Hashtable()
ToInt transform = new ToInt()
ConstructorChooser make = new ConstructorChooser()

Static Private Attributes

Hashtable classHierarchyHashtable = new Hashtable()

Detailed Description

This class encapsulate the class hierarchy, as well as non-reference types.

This class is primarily used by the TypeResolver class, to optimize its computation.

Definition at line 92 of file ClassHierarchy.java.


Member Function Documentation

ClassHierarchy ClassHierarchy::getClassHierarchy SootClassManager   classManager [inline, static]
 

Get the class hierarchy for the given class manager. *

Definition at line 415 of file ClassHierarchy.java.

TypeNode ClassHierarchy::getTypeNode Type   type [inline]
 

Get the type node for the given type. *

Definition at line 428 of file ClassHierarchy.java.

Referenced by TypeResolver::getTypeVariable().

String ClassHierarchy::toString   [inline]
 

Returns a string representation of this object *

Definition at line 441 of file ClassHierarchy.java.


Member Data Documentation

Hashtable ClassHierarchy::classHierarchyHashtable = new Hashtable() [static, private]
 

Hashtable: SootClassManager -> ClassHierarchy *

Definition at line 95 of file ClassHierarchy.java.

SootClassManager ClassHierarchy::classManager [private]
 

The class manager *

Definition at line 98 of file ClassHierarchy.java.

ConstructorChooser ClassHierarchy::make = new ConstructorChooser() [private]
 

Used to create TypeNode instances *

Definition at line 110 of file ClassHierarchy.java.

ToInt ClassHierarchy::transform = new ToInt() [private]
 

Used to transform boolean, byte, short and char to int *

Definition at line 107 of file ClassHierarchy.java.

Hashtable ClassHierarchy::typeNodeHashtable = new Hashtable() [private]
 

Hashtable: Type -> TypeNode *

Definition at line 104 of file ClassHierarchy.java.

Vector ClassHierarchy::typeNodeInstances = new Vector() [private]
 

All type node instances *

Definition at line 101 of file ClassHierarchy.java.


The documentation for this class was generated from the following file:
Generated at Thu Feb 7 07:06:26 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001