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

Analysis::StmtMethodPair Class Reference

List of all members.

Public Methods

Stmt getStmt ()
SootMethod getSootMethod ()
boolean equals (Object o)
int hashCode ()
String toString ()

Private Methods

 StmtMethodPair (Stmt s, SootMethod m)

Private Attributes

Stmt stmt
SootMethod sm

Detailed Description

A class that encapsulates the statement and the method in which that statement occurs.

Definition at line 271 of file bofa/Analysis.java.


Constructor & Destructor Documentation

Analysis::StmtMethodPair::StmtMethodPair Stmt   s,
SootMethod   m
[inline, private]
 

Creates a new StmtMethodPair instance.

Parameters:
s   statement to be stored.
m   method to be stored.

Definition at line 290 of file bofa/Analysis.java.


Member Function Documentation

boolean Analysis::StmtMethodPair::equals Object   o [inline]
 

Provides equality checking for two StmtMethodPair objects. It checks if both the objects contain references to the same Stmt and SootMethod objects.

Parameters:
smp   the StmtMethodPair object to be compared with.
Returns:
true if the given object is the "equal" to this object. false otherwise.

Definition at line 325 of file bofa/Analysis.java.

SootMethod Analysis::StmtMethodPair::getSootMethod   [inline]
 

Provides the stored method object.

Returns:
method stored in this object.

Definition at line 311 of file bofa/Analysis.java.

Referenced by Analysis::getStmtMethodPair().

Stmt Analysis::StmtMethodPair::getStmt   [inline]
 

Provides the stored statment object.

Returns:
statement stored in this object.

Definition at line 301 of file bofa/Analysis.java.


Member Data Documentation

SootMethod Analysis::StmtMethodPair::sm [private]
 

The method to be paired with the enclosed statement.

Definition at line 282 of file bofa/Analysis.java.

Stmt Analysis::StmtMethodPair::stmt [private]
 

The statement to be paired with the containing Method.

Definition at line 276 of file bofa/Analysis.java.


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