Class NopEliminator

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

public class NopEliminator extends Object implements BodyInterceptor
This class removes JNopStmts from a given Body.
Author:
Marcus Nachtigall, Markus Schmidt
  • Constructor Details

    • NopEliminator

      public NopEliminator()
  • Method Details

    • interceptBody

      public void interceptBody(@NonNull Body.BodyBuilder builder, @NonNull View view)
      Removes JNopStmts from the given Body. Complexity is linear with respect to the statements.
      Specified by:
      interceptBody in interface BodyInterceptor
      Parameters:
      builder - The current body before interception.