Class Util


  • public class Util
    extends Object
    • Method Detail

      • findLastIdentityUnit

        public static Unit findLastIdentityUnit​(Body b,
                                                Stmt s)
        A new "normal" statement cannot be inserted in the middle of special "identity statements" (a = @parameter or b = @this in Jimple). This method returns the last "identity statement" of the method.
        Parameters:
        b -
        s -
        Returns:
      • findFirstNonIdentityUnit

        public static Unit findFirstNonIdentityUnit​(Body b,
                                                    Stmt s)
        Returns the first statement after all the "identity statements".
        Parameters:
        b -
        s -
        Returns: