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

VInvokeCallBack Class Reference

Inheritance diagram for VInvokeCallBack:
[legend]
Collaboration diagram for VInvokeCallBack:
[legend]
List of all members.

Public Methods

 VInvokeCallBack ()
 VInvokeCallBack (String declClass, String mname, String pmname)
void callback (Expr e, Object o)

Private Attributes

final String declClass
final String mname
final String pmname

Static Private Attributes

Jimple jimple
Category cat

Detailed Description

This class provides the call back method to be invoked when method X is encountered during the flow analysis.

Author:
Venkatesh Prasad Ranganath
Version:
Name:
(
Revision:
1.1.1.1
)

Definition at line 66 of file VInvokeCallBack.java.


Constructor & Destructor Documentation

VInvokeCallBack::VInvokeCallBack   [inline]
 

Creates a new VInvokeCallBack instance.

Definition at line 104 of file VInvokeCallBack.java.

VInvokeCallBack::VInvokeCallBack String   declClass,
String   mname,
String   pmname
[inline]
 

Creates a new VInvokeCallBack instance.

Parameters:
declClass   Name of the class declaring the method mname.
mname   Name of the method that will trigger the inclusion.
pmname   Name of the method to be included into the flow graph.

Definition at line 118 of file VInvokeCallBack.java.


Member Function Documentation

void VInvokeCallBack::callback Expr   e,
Object   o
[inline]
 

callback will be called by BOFA when java.lang.Thread.start method invocation is encountered during flow analysis.

Parameters:
e   Expr object respresenting the expression which triggered the callback.
o   Object object representing the FGExpr object which was processing the expression.
Exceptions:
code   >ca.mcgill.sable.soot.NoSuchMethodException is thrown when run method is undefined in the given hierarchy.

Reimplemented from CallBack.

Definition at line 135 of file VInvokeCallBack.java.


Member Data Documentation

Category VInvokeCallBack::cat [static, private]
 

Provides logging through log4j.

Definition at line 99 of file VInvokeCallBack.java.

final String VInvokeCallBack::declClass [private]
 

declClass is the class in which the method being registered should be declared in the class hierarchy for the callback to occur.

Definition at line 77 of file VInvokeCallBack.java.

Jimple VInvokeCallBack::jimple [static, private]
 

jimple is used to create jimple expression AST nodes.

Definition at line 71 of file VInvokeCallBack.java.

final String VInvokeCallBack::mname [private]
 

mname is the name of the method when encountered the new method is plugged in. By default it is "start".

Definition at line 83 of file VInvokeCallBack.java.

final String VInvokeCallBack::pmname [private]
 

pmname is the name of the plug-in method. By default it is "run".

Definition at line 89 of file VInvokeCallBack.java.


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