Package sootup.interceptors
Class Aggregator
java.lang.Object
sootup.interceptors.Aggregator
- All Implemented Interfaces:
BodyInterceptor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
interceptBody
(Body.BodyBuilder builder, View view) 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.
-
Field Details
-
dontAggregateFieldLocals
protected boolean dontAggregateFieldLocals
-
-
Constructor Details
-
Aggregator
public Aggregator() -
Aggregator
public Aggregator(boolean dontAggregateFieldLocals)
-
-
Method Details
-
interceptBody
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.- Specified by:
interceptBody
in interfaceBodyInterceptor
-