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

ClassTokenSimple Class Reference

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

Public Methods

SootClass getSootClass ()

Static Public Methods

ClassTokenSimple select (SootClass sootClass)

Static Public Attributes

final ClassTokenSimple unknownClassToken
final ClassTokenSimple nullClassToken
final ClassTokenSimple intClassToken

Static Protected Attributes

SootClass sootClass

Private Methods

 ClassTokenSimple (SootClass sootClass)

Static Private Methods

void initClass (SootClass sootClass)

Static Private Attributes

Map allocatedTokens = new HashMap()
Category cat

Detailed Description

This class represents the class token for non array types in the flow analysis. These are classes in the system being analysed.

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

Definition at line 54 of file ClassTokenSimple.java.


Constructor & Destructor Documentation

ClassTokenSimple::ClassTokenSimple SootClass   sootClass [inline, private]
 

Constructor for the class

Parameters:
sootClass   is the class represented by this ClassTokenSimple object.

Definition at line 114 of file ClassTokenSimple.java.


Member Function Documentation

SootClass ClassTokenSimple::getSootClass   [inline]
 

Returns the SootClass associated with this class token.

Returns:
the SootClass

Definition at line 123 of file ClassTokenSimple.java.

void ClassTokenSimple::initClass SootClass   sootClass [inline, static, private]
 

Initializes the instance and class level data for the given class. Any static initialization block then it is enclosed in <clinit> method(in JVM bytecodes). If any such method is defined in the class then that method is hooked into the flow graph.

Parameters:
sootClass   is the class for which the information should be set up in BOFA before further processing.

Definition at line 136 of file ClassTokenSimple.java.

ClassTokenSimple ClassTokenSimple::select SootClass   sootClass [inline, static]
 

Retrieves the ClassToken object corresponding to the SootClass. If a ClassToken is not associated, a new object is created and associated.

Parameters:
sootClass   the soot class for which the class token is requested.
Returns:
the class token corresponding to the soot class.

Definition at line 187 of file ClassTokenSimple.java.


Member Data Documentation

Map ClassTokenSimple::allocatedTokens = new HashMap() [static, private]
 

Maps SootClass objects to ClassToken objects.

Definition at line 59 of file ClassTokenSimple.java.

Category ClassTokenSimple::cat [static, private]
 

Provides logging capability through log4j.

Definition at line 87 of file ClassTokenSimple.java.

final ClassTokenSimple ClassTokenSimple::intClassToken [static]
 

Initial value:

 
        new ClassTokenSimple(new SootClass("int"))
The ClassToken corresponding to the int objects. It is reasonable to use the same Class Token for all int values.

Definition at line 80 of file ClassTokenSimple.java.

final ClassTokenSimple ClassTokenSimple::nullClassToken [static]
 

Initial value:

         new ClassTokenSimple(new SootClass("BOFA_NullValue"))
The ClassToken corresponding to the null object. It is reasonable to use the same Class Token for all null values.

Definition at line 73 of file ClassTokenSimple.java.

SootClass ClassTokenSimple::sootClass [static, protected]
 

The class associated with this class token.

Definition at line 106 of file ClassTokenSimple.java.

final ClassTokenSimple ClassTokenSimple::unknownClassToken [static]
 

Initial value:

 
        new ClassTokenSimple(new SootClass("unknownClassToken"))
The ClassToken object representing the type of the unknown values. Basically the values which are not created in the code being analyzed. These are values like command line arguments in main method.

Definition at line 66 of file ClassTokenSimple.java.


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