soot.jimple.toolkits.scalar
Class FastAvailableExpressions

java.lang.Object
  |
  +--soot.jimple.toolkits.scalar.FastAvailableExpressions

public class FastAvailableExpressions
extends java.lang.Object
implements AvailableExpressions

Provides an user-interface for the AvailableExpressionsAnalysis class. Returns, for each statement, the list of expressions available before and after it.


Constructor Summary
FastAvailableExpressions(Body b)
          Wrapper for AvailableExpressionsAnalysis.
 
Method Summary
 Chain getAvailableEquivsAfter(Unit u)
          Returns a List containing the UnitValueBox pairs corresponding to expressions available after u.
 Chain getAvailableEquivsBefore(Unit u)
          Returns a Chain containing the EquivalentValue objects corresponding to expressions available before u.
 java.util.List getAvailablePairsAfter(Unit u)
          Returns a List containing the EquivalentValue corresponding to expressions available after u.
 java.util.List getAvailablePairsBefore(Unit u)
          Returns a List containing the UnitValueBox pairs corresponding to expressions available before u.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastAvailableExpressions

public FastAvailableExpressions(Body b)
Wrapper for AvailableExpressionsAnalysis.
Method Detail

getAvailablePairsBefore

public java.util.List getAvailablePairsBefore(Unit u)
Returns a List containing the UnitValueBox pairs corresponding to expressions available before u.
Specified by:
getAvailablePairsBefore in interface AvailableExpressions

getAvailableEquivsBefore

public Chain getAvailableEquivsBefore(Unit u)
Returns a Chain containing the EquivalentValue objects corresponding to expressions available before u.
Specified by:
getAvailableEquivsBefore in interface AvailableExpressions

getAvailablePairsAfter

public java.util.List getAvailablePairsAfter(Unit u)
Returns a List containing the EquivalentValue corresponding to expressions available after u.
Specified by:
getAvailablePairsAfter in interface AvailableExpressions

getAvailableEquivsAfter

public Chain getAvailableEquivsAfter(Unit u)
Returns a List containing the UnitValueBox pairs corresponding to expressions available after u.
Specified by:
getAvailableEquivsAfter in interface AvailableExpressions