Class Aggregator

java.lang.Object
sootup.interceptors.Aggregator
All Implemented Interfaces:
BodyInterceptor

public class Aggregator extends Object implements BodyInterceptor
  • Field Details

    • dontAggregateFieldLocals

      protected boolean dontAggregateFieldLocals
  • Constructor Details

    • Aggregator

      public Aggregator()
    • Aggregator

      public Aggregator(boolean dontAggregateFieldLocals)
  • Method Details

    • interceptBody

      public void interceptBody(@Nonnull Body.BodyBuilder builder, @Nonnull 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.
      Specified by:
      interceptBody in interface BodyInterceptor