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

Demo Class Reference

List of all members.

Static Public Methods

void main (String[] args)

Static Private Methods

void analyze (Collection storedClasses)
void jjjc (String[] args)
void soot (String[] args)

Static Private Attributes

Category cat

Detailed Description

This class tests the implementation of BOFA and provides an example of how to use BOFA.

Author:
Version:
Name:
(
Revision:
1.1.1.1
)

Definition at line 58 of file Demo.java.


Member Function Documentation

void Demo::analyze Collection   storedClasses [inline, static, private]
 

Analyzes the given collection of classes.

Parameters:
storedClasses   a collection of SootClasses representing the classes to be analyzed.

Definition at line 76 of file Demo.java.

Referenced by jjjc(), and soot().

void Demo::jjjc String   args[] [inline, static, private]
 

Uses JJJC to generate the jimple representation of the given source files.

Parameters:
args   names of java source files.

Definition at line 134 of file Demo.java.

Referenced by main().

void Demo::main String   args[] [inline, static]
 

Entry point to the demo.

Parameters:
args   mode and arguments. In case the mode is jjjc the arguments need to be all the java source files to be used in compilation. In case the mode is soot the arguments need to be the names of the classes that need to be analyzed.

Definition at line 153 of file Demo.java.

void Demo::soot String   args[] [inline, static, private]
 

Uses Soot to generate the jimple representation of the given classes.

Parameters:
args   names of the classes.

Definition at line 169 of file Demo.java.

Referenced by main().


Member Data Documentation

Category Demo::cat [static, private]
 

Provides the logging capability through log4j.

Definition at line 64 of file Demo.java.


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