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

MethodVariantManager Class Reference

List of all members.

Static Public Methods

SootMethod findDeclaringMethod (SootClass sootClass, SootMethod sootMethod)
SootMethod findDeclaringMethod (SootClass sootClass, String methodName, List parameterTypes, Type returnType)
Set getMethods ()
Collection getVariants (SootMethod sootMethod)
void init (MethodIndexManager methodIndexManager)
boolean isManaged (SootMethod sootMethod)
void reset ()
MethodVariant select (SootMethod sootMethod)

Static Private Attributes

MethodIndexManager methodIndexManager
Map methodMap
Category cat

Detailed Description

This class manages the method variants corresponding to various methods on a per class basis.
Author:
John Hatcliff , Venkatesh Prasad Ranganath
Version:
Name:
(
Revision:
1.1.1.1
)

Definition at line 55 of file MethodVariantManager.java.


Member Function Documentation

SootMethod MethodVariantManager::findDeclaringMethod SootClass   sootClass,
String   methodName,
List   parameterTypes,
Type   returnType
[inline, static]
 

Provides the defining SootMethod for the method. The SootMethod in which the method is actually implemented and not just inherited.

Parameters:
sootClass   the class in which the sootMethod is available.
methodName   the name of the method
parameterTypes   the type of the parameters to the method
returnType   the return type of the method.
Returns:
the object representing an implementation of the requested method.

Definition at line 107 of file MethodVariantManager.java.

SootMethod MethodVariantManager::findDeclaringMethod SootClass   sootClass,
SootMethod   sootMethod
[inline, static]
 

Provides the defining SootMethod for the method. The SootMethod in which the method is actually implemented and not just inherited.

Parameters:
sootClass   the class in which the sootMethod is available.
sootMethod   the method for which we need the object corresponding to it's implementation.
Returns:
the object representing an implementation of the requested method.

Definition at line 86 of file MethodVariantManager.java.

Referenced by findDeclaringMethod().

Set MethodVariantManager::getMethods   [inline, static]
 

Provides the set of managed methods.

Returns:
set of managed methods.

Definition at line 136 of file MethodVariantManager.java.

Collection MethodVariantManager::getVariants SootMethod   sootMethod [inline, static]
 

Provides the set of variants associated with the given method.

Parameters:
sootMethod   the method corresponding to which the variants are required.
Returns:
the collection of variants associated with the method.

Definition at line 147 of file MethodVariantManager.java.

void MethodVariantManager::init MethodIndexManager   methodIndexManager [inline, static]
 

Initialize the Manager.

Parameters:
methodIndexManager   the manager that provides the indices for managing the variants.

Definition at line 157 of file MethodVariantManager.java.

boolean MethodVariantManager::isManaged SootMethod   sootMethod [inline, static]
 

Tells whether the given method is managed or not.

Parameters:
sootMethod   the method which may or may not be managed.
Returns:
true indicates the method is managed, false otherwise.

Definition at line 167 of file MethodVariantManager.java.

void MethodVariantManager::reset   [inline, static]
 

Describe reset method here.

Definition at line 175 of file MethodVariantManager.java.

MethodVariant MethodVariantManager::select SootMethod   sootMethod [inline, static]
 

Provides the Method variant associated with the method. if none exist then a new variant is created.

Parameters:
sootMethod   the method corresponding to which the Variant is required.
Returns:
the associated method variant.

Definition at line 191 of file MethodVariantManager.java.


Member Data Documentation

Category MethodVariantManager::cat [static, private]
 

Provides logging capability through log4j.

Definition at line 71 of file MethodVariantManager.java.

MethodIndexManager MethodVariantManager::methodIndexManager [static, private]
 

The Manager that provides indices to partition the variants.

Definition at line 60 of file MethodVariantManager.java.

Map MethodVariantManager::methodMap [static, private]
 

A Map from method to all possible variants.

Definition at line 65 of file MethodVariantManager.java.


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