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

FGActionInvoke Class Reference

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

Public Methods

 FGActionInvoke (int argCount, FGNode[] argNodes, FGNode invokeNode, String methodName, List parameterTypes, Type returnType, SootClass sootClass)
void doAction (FASet values)

Static Public Methods

 FGActionInvoke (int argCount, FGNode[] argNodes, FGNode invokeNode, String methodName, List parameterTypes, Type returnType)

Private Attributes

int argCount
FGNode[] argNodes
FGNode invokeNode
String methodName
List parameterTypes
Type returnType
Set installedMethodVariants
SootClass sc

Static Private Attributes

Category cat

Detailed Description

This class describes the action to be taken when new values arrive at the method position of a method invocation AST node.

Author:
John Hatcliff , Venkatesh Prasad Ranganath
Version:
Revision:
1.1.1.1

Definition at line 71 of file FGActionInvoke.java.


Constructor & Destructor Documentation

FGActionInvoke::FGActionInvoke int   argCount,
FGNode   argNodes[],
FGNode   invokeNode,
String   methodName,
List   parameterTypes,
Type   returnType
[inline, static]
 

Constructor of the class.

Parameters:
argCount   number of arguments to the invoked method.
argNodes   the nodes corresponding to the arguments.
invokeNode   the node corresponding to the invocation AST. This will also be the node which provides the return value of the method during flow analysis.
methodName   the name of the invoked method.
parameterTypes   the types of the parameter provided to the method.
returnType   the type of the return value.

Definition at line 137 of file FGActionInvoke.java.

FGActionInvoke::FGActionInvoke int   argCount,
FGNode   argNodes[],
FGNode   invokeNode,
String   methodName,
List   parameterTypes,
Type   returnType,
SootClass   sootClass
[inline]
 

Constructor of the class to be used when SpecialInvokeExpr is being handled.

Parameters:
argCount   number of arguments to the invoked method.
argNodes   the nodes corresponding to the arguments.
invokeNode   the node corresponding to the invocation AST.This will also be the node which provides the return value of the method during flow analysis. This will not have any use as constructors do not return values.
methodName   the name of the invoked method.
parameterTypes   the types of the parameter provided to the method.
returnType   the type of the return value.
sootClass   the class to which the method body belongs during invocation.

Definition at line 168 of file FGActionInvoke.java.


Member Function Documentation

void FGActionInvoke::doAction FASet   values [inline]
 

Parameters:
values   the set of new values that arrived at the node to to which this action is attached.

Reimplemented from FGAction.

Definition at line 191 of file FGActionInvoke.java.


Member Data Documentation

int FGActionInvoke::argCount [private]
 

Number of arguments to the method

Definition at line 76 of file FGActionInvoke.java.

FGNode [] FGActionInvoke::argNodes [private]
 

Array of FGNodes corresponding to the argument ASTs

Definition at line 81 of file FGActionInvoke.java.

Category FGActionInvoke::cat [static, private]
 

Provides logging capabilities through log4j.

Definition at line 119 of file FGActionInvoke.java.

Set FGActionInvoke::installedMethodVariants [private]
 

Set of method variants that have been hooked into the flow graph for this node.

Definition at line 107 of file FGActionInvoke.java.

FGNode FGActionInvoke::invokeNode [private]
 

FGNode for the invocation AST

Definition at line 86 of file FGActionInvoke.java.

String FGActionInvoke::methodName [private]
 

Name of the method

Definition at line 91 of file FGActionInvoke.java.

List FGActionInvoke::parameterTypes [private]
 

Types of the parameters provided to the method

Definition at line 96 of file FGActionInvoke.java.

Type FGActionInvoke::returnType [private]
 

Return type of the method

Definition at line 101 of file FGActionInvoke.java.

SootClass FGActionInvoke::sc [private]
 

The class from which the method needs to be hooked into the flow graph. This is required for constructor calls.

Definition at line 113 of file FGActionInvoke.java.


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