soot.jimple.toolkits.base
Class Aggregator
java.lang.Object
|
+--soot.Transformer
|
+--soot.BodyTransformer
|
+--soot.jimple.toolkits.base.Aggregator
- public class Aggregator
- extends BodyTransformer
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodeCount
public static int nodeCount
aggrCount
public static int aggrCount
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
- Following copied from class:
soot.BodyTransformer
- Parameters:
b
- the body on which to apply the transformationphaseName
- the phasename for this transform; not typically used by implementations.options
- the actual computed options; a combination of default options and Scene specified options.