soot.shimple
Class DefaultShimpleFactory

java.lang.Object
  extended by soot.shimple.DefaultShimpleFactory
All Implemented Interfaces:
ShimpleFactory

public class DefaultShimpleFactory
extends Object
implements ShimpleFactory

Author:
Navindra Umanee

Field Summary
protected  BlockGraph bg
           
protected  Body body
           
protected  CallGraph cg
           
protected  DominatorsFinder dFinder
           
protected  DominanceFrontier dFrontier
           
protected  DominatorTree dTree
           
protected  GlobalValueNumberer gvn
           
protected  PointsToAnalysis pta
           
protected  ReversibleGraph rbg
           
protected  DominatorsFinder rdFinder
           
protected  DominanceFrontier rdFrontier
           
protected  DominatorTree rdTree
           
protected  SideEffectAnalysis sea
           
protected  UnitGraph ug
           
 
Constructor Summary
DefaultShimpleFactory()
           
 
Method Summary
 void clearCache()
          Constructors should memoize their return value.
 BlockGraph getBlockGraph()
           
 Body getBody()
           
 DominanceFrontier getDominanceFrontier()
           
 DominatorsFinder getDominatorsFinder()
           
 DominatorTree getDominatorTree()
           
 GlobalValueNumberer getGlobalValueNumberer()
           
 ReversibleGraph getReverseBlockGraph()
           
 DominanceFrontier getReverseDominanceFrontier()
           
 DominatorsFinder getReverseDominatorsFinder()
           
 DominatorTree getReverseDominatorTree()
           
 UnitGraph getUnitGraph()
           
 void setBody(Body body)
          Some constructors may require a body.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

body

protected Body body

bg

protected BlockGraph bg

ug

protected UnitGraph ug

dFinder

protected DominatorsFinder dFinder

dTree

protected DominatorTree dTree

dFrontier

protected DominanceFrontier dFrontier

pta

protected PointsToAnalysis pta

cg

protected CallGraph cg

sea

protected SideEffectAnalysis sea

gvn

protected GlobalValueNumberer gvn

rbg

protected ReversibleGraph rbg

rdTree

protected DominatorTree rdTree

rdFrontier

protected DominanceFrontier rdFrontier

rdFinder

protected DominatorsFinder rdFinder
Constructor Detail

DefaultShimpleFactory

public DefaultShimpleFactory()
Method Detail

clearCache

public void clearCache()
Description copied from interface: ShimpleFactory
Constructors should memoize their return value. Call clearCache() to force recomputations if body has changed and setBody() hasn't been called again.

Specified by:
clearCache in interface ShimpleFactory

setBody

public void setBody(Body body)
Description copied from interface: ShimpleFactory
Some constructors may require a body. If this is not set at the time of need, an exception will be thrown.

Specified by:
setBody in interface ShimpleFactory

getBody

public Body getBody()

getReverseBlockGraph

public ReversibleGraph getReverseBlockGraph()
Specified by:
getReverseBlockGraph in interface ShimpleFactory

getReverseDominatorsFinder

public DominatorsFinder getReverseDominatorsFinder()
Specified by:
getReverseDominatorsFinder in interface ShimpleFactory

getReverseDominatorTree

public DominatorTree getReverseDominatorTree()
Specified by:
getReverseDominatorTree in interface ShimpleFactory

getReverseDominanceFrontier

public DominanceFrontier getReverseDominanceFrontier()
Specified by:
getReverseDominanceFrontier in interface ShimpleFactory

getBlockGraph

public BlockGraph getBlockGraph()
Specified by:
getBlockGraph in interface ShimpleFactory

getUnitGraph

public UnitGraph getUnitGraph()
Specified by:
getUnitGraph in interface ShimpleFactory

getDominatorsFinder

public DominatorsFinder getDominatorsFinder()
Specified by:
getDominatorsFinder in interface ShimpleFactory

getDominatorTree

public DominatorTree getDominatorTree()
Specified by:
getDominatorTree in interface ShimpleFactory

getDominanceFrontier

public DominanceFrontier getDominanceFrontier()
Specified by:
getDominanceFrontier in interface ShimpleFactory

getGlobalValueNumberer

public GlobalValueNumberer getGlobalValueNumberer()
Specified by:
getGlobalValueNumberer in interface ShimpleFactory