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

TempStmt Class Reference

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

Public Methods

void caseAssignStmt (AssignStmt v)
void caseGotoStmt (GotoStmt v)
void caseIdentityStmt (IdentityStmt v)
void caseIfStmt (IfStmt v)
void caseInvokeStmt (InvokeStmt v)
void caseLookupSwitchStmt (LookupSwitchStmt v)
void caseReturnStmt (ReturnStmt v)
void caseTableSwitchStmt (TableSwitchStmt v)
void defaultCase (Object obj)

Private Methods

 TempStmt (TempExpr expr)
void build (Stmt v)
void init (SootMethod sm, StmtList stmts)

Private Attributes

SootMethod sm
BriefStmtGraph bsg
TempExpr expr
Category cat

Detailed Description

A jimple statement walker.

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

Definition at line 51 of file TempStmt.java.


Constructor & Destructor Documentation

TempStmt::TempStmt TempExpr   expr [inline, private]
 

Creates a new TempStmt instance.

Parameters:
expr   the expression walker.

Definition at line 82 of file TempStmt.java.


Member Function Documentation

void TempStmt::build Stmt   v [inline, private]
 

Triggers the walk.

Parameters:
v   the statement to be walked.

Definition at line 92 of file TempStmt.java.

Referenced by Demo::analyze().

void TempStmt::caseAssignStmt AssignStmt   v [inline]
 

Handles the case when caseAssignStmts are encountered.

Parameters:
v   object representing an assignment statement in Jimple.

Definition at line 101 of file TempStmt.java.

void TempStmt::caseGotoStmt GotoStmt   v [inline]
 

Handles the case when caseGotoStmts are encountered.

Parameters:
v   object representing a goto statement in Jimple.

Definition at line 114 of file TempStmt.java.

void TempStmt::caseIdentityStmt IdentityStmt   v [inline]
 

Handles the case when caseIdentityStmts are encountered.

Parameters:
v   object representing an identity statement in Jimple.

Definition at line 122 of file TempStmt.java.

void TempStmt::caseIfStmt IfStmt   v [inline]
 

Handles the case when caseIfStmts are encountered.

Parameters:
v   object representing an if statement in Jimple.

Definition at line 134 of file TempStmt.java.

void TempStmt::caseInvokeStmt InvokeStmt   v [inline]
 

Handles the case when caseInvokeStmts are encountered.

Parameters:
v   object representing a case statement in Jimple.

Definition at line 145 of file TempStmt.java.

void TempStmt::caseLookupSwitchStmt LookupSwitchStmt   v [inline]
 

Handles the case when caseLookupSwitchStmts are encountered.

Parameters:
v   object representing a lookup switch statement in Jimple.

Definition at line 157 of file TempStmt.java.

void TempStmt::caseReturnStmt ReturnStmt   v [inline]
 

Handles the case when caseReturnStmts are encountered.

Parameters:
v   object representing a return statement in Jimple.

Definition at line 165 of file TempStmt.java.

void TempStmt::caseTableSwitchStmt TableSwitchStmt   v [inline]
 

Handles the case when caseTableSwitchStmts are encountered.

Parameters:
v   object representing a tabled switch statement in Jimple.

Definition at line 176 of file TempStmt.java.

void TempStmt::defaultCase Object   obj [inline]
 

Handles statements which we do not intend to handle at this time.

Parameters:
obj   object representing entities we donot handle.

Definition at line 184 of file TempStmt.java.

void TempStmt::init SootMethod   sm,
StmtList   stmts
[inline, private]
 

Initializes the object with a method and the statement list in the method in which the statements that will be analyzed are present.

Parameters:
sm   the method enclosing the statements to be analyzed.
stmts   the list of statements in the enclosing method.

Definition at line 194 of file TempStmt.java.

Referenced by Demo::analyze().


Member Data Documentation

BriefStmtGraph TempStmt::bsg [private]
 

Statement graph of the given statement list.

Definition at line 63 of file TempStmt.java.

Category TempStmt::cat [private]
 

Provides logging facility through log4j.

Definition at line 75 of file TempStmt.java.

TempExpr TempStmt::expr [private]
 

The expression walker.

Definition at line 69 of file TempStmt.java.

SootMethod TempStmt::sm [private]
 

Method enclosing the statement being walked.

Definition at line 57 of file TempStmt.java.


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