soot.jimple.toolkits.base
Class Aggregator

java.lang.Object
  |
  +--soot.Transformer
        |
        +--soot.BodyTransformer
              |
              +--soot.jimple.toolkits.base.Aggregator

public class Aggregator
extends BodyTransformer


Field Summary
static int aggrCount
           
static int nodeCount
           
 
Method Summary
 java.lang.String getDeclaredOptions()
           
protected  void internalTransform(Body b, java.lang.String phaseName, java.util.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
getDefaultOptions, transform, transform, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodeCount

public static int nodeCount

aggrCount

public static int aggrCount
Method Detail

v

public static Aggregator v()

getDeclaredOptions

public java.lang.String getDeclaredOptions()
Overrides:
getDeclaredOptions in class BodyTransformer

internalTransform

protected void internalTransform(Body b,
                                 java.lang.String phaseName,
                                 java.util.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 $
Overrides:
internalTransform in class BodyTransformer
Tags copied from 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.