SandMark version 3.0


sandmark.util.controlflowgraph
Class ProgramCFG

java.lang.Object
  |
  +--sandmark.util.controlflowgraph.ProgramGraph
        |
        +--sandmark.util.controlflowgraph.ProgramCFG

public class ProgramCFG
extends ProgramGraph


Field Summary
(package private)  java.util.Hashtable mMethodNameToCFG
           
 
Constructor Summary
ProgramCFG(java.util.Collection methods)
           
 
Method Summary
 void addEdge(BasicBlock fromBlock, BasicBlock toBlock, MethodCFG cfg)
           
 void addNode(BasicBlock block, MethodCFG cfg)
           
static java.lang.String methodName(de.fub.bytecode.generic.FieldOrMethod fm, de.fub.bytecode.generic.ConstantPoolGen cpg)
           
static java.lang.String methodName(MethodCFG cfg)
           
static java.lang.String methodName(de.fub.bytecode.generic.MethodGen mg)
           
static java.lang.String methodName(java.lang.String className, java.lang.String methodName, java.lang.String signature)
           
 void removeEdge(BasicBlock fromBlock, BasicBlock toBlock, MethodCFG cfg)
           
 
Methods inherited from class sandmark.util.controlflowgraph.ProgramGraph
addEdge, addNode, edgeCount, getPreds, getSuccs, hasEdge, hasNode, nodeCount, nodes, removeEdge, removeNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mMethodNameToCFG

java.util.Hashtable mMethodNameToCFG
Constructor Detail

ProgramCFG

public ProgramCFG(java.util.Collection methods)
Method Detail

addNode

public void addNode(BasicBlock block,
                    MethodCFG cfg)

addEdge

public void addEdge(BasicBlock fromBlock,
                    BasicBlock toBlock,
                    MethodCFG cfg)

removeEdge

public void removeEdge(BasicBlock fromBlock,
                       BasicBlock toBlock,
                       MethodCFG cfg)

methodName

public static java.lang.String methodName(MethodCFG cfg)

methodName

public static java.lang.String methodName(de.fub.bytecode.generic.MethodGen mg)

methodName

public static java.lang.String methodName(de.fub.bytecode.generic.FieldOrMethod fm,
                                          de.fub.bytecode.generic.ConstantPoolGen cpg)

methodName

public static java.lang.String methodName(java.lang.String className,
                                          java.lang.String methodName,
                                          java.lang.String signature)

SandMark version 3.0

Wed Jan 29 10:30:05 MST 2003