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

ValueVariantManager Class Reference

List of all members.

Static Public Methods

Set getClasses ()
Collection getValues ()
void init (ValueIndexManager valueIndexManager, CodeIndexManager codeIndexManager)
void reset ()
ValueVariant select (ClassToken classToken, MethodVariant methodVariant, Value expr, Stmt stmt)

Static Private Attributes

ValueIndexManager valueIndexManager
CodeIndexManager codeIndexManager
Map classMap
Map constClassMap

Detailed Description

This class manages the value variants depending on the enclosing class, method and position in code where the variants were created.

Author:
John Hatcliff , Venkatesh Prasad Ranganath
Version:
Name:
(
Revision:
1.1.1.1
)

Definition at line 56 of file ValueVariantManager.java.


Member Function Documentation

Set ValueVariantManager::getClasses   [inline, static]
 

Provide the set of classes in which value variants are managed.

Returns:
the set of classes in which value variants are managed.

Definition at line 84 of file ValueVariantManager.java.

Collection ValueVariantManager::getValues   [inline, static]
 

Provide the set of maps of the managed value variants.

Returns:
the set of maps of the managed value variants.

Definition at line 93 of file ValueVariantManager.java.

void ValueVariantManager::init ValueIndexManager   valueIndexManager,
CodeIndexManager   codeIndexManager
[inline, static]
 

Initilizes the class.

Parameters:
valueIndexManager   the manager to be used to manage value indices.
codeIndexManager   the manager to be used to manage code indices.

Definition at line 104 of file ValueVariantManager.java.

void ValueVariantManager::reset   [inline, static]
 

Describe reset method here.

Definition at line 116 of file ValueVariantManager.java.

ValueVariant ValueVariantManager::select ClassToken   classToken,
MethodVariant   methodVariant,
Value   expr,
Stmt   stmt
[inline, static]
 

Provides the Value variant associated with given combination.

Parameters:
classToken   the class in which the value variant occurs.
methodVariant   the method in which the value variant occurs.
expr   a Value value
stmt   the statement in which the value variant occurs.
Returns:
a ValueVariant value

Definition at line 164 of file ValueVariantManager.java.


Member Data Documentation

Map ValueVariantManager::classMap [static, private]
 

Maps class tokens to map of value indices.

Definition at line 71 of file ValueVariantManager.java.

CodeIndexManager ValueVariantManager::codeIndexManager [static, private]
 

Manages the indices for position in code.

Definition at line 66 of file ValueVariantManager.java.

Map ValueVariantManager::constClassMap [static, private]
 

Maps class tokens to values. This is used for objects like null and so on.

Definition at line 77 of file ValueVariantManager.java.

ValueIndexManager ValueVariantManager::valueIndexManager [static, private]
 

Manages the indices for value variants.

Definition at line 61 of file ValueVariantManager.java.


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