soot.jimple.toolkits.base
Class Aggregator

java.lang.Object
  extended by soot.Transformer
      extended by soot.BodyTransformer
          extended by soot.jimple.toolkits.base.Aggregator

public class Aggregator
extends BodyTransformer


Constructor Summary
Aggregator(Singletons.Global g)
           
 
Method Summary
protected  void internalTransform(Body b, String phaseName, Map options)
          Traverse the statements in the given body, looking for aggregation possibilities; that is, given a def d and a use u, d has no other uses, u has no other defs, collapse d and u.
static Aggregator v()
           
 
Methods inherited from class soot.BodyTransformer
transform, transform, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Aggregator

public Aggregator(Singletons.Global g)
Method Detail

v

public static Aggregator v()

internalTransform

protected void internalTransform(Body b,
                                 String phaseName,
                                 Map options)
Traverse the statements in the given body, looking for aggregation possibilities; that is, given a def d and a use u, d has no other uses, u has no other defs, collapse d and u. option: only-stack-locals; if this is true, only aggregate variables starting with $

Specified by:
internalTransform in class BodyTransformer
Parameters:
b - the body on which to apply the transformation
phaseName - the phasename for this transform; not typically used by implementations.
options - the actual computed options; a combination of default options and Scene specified options.