code: private int afterHookInsertLine(TestMethod method, int codeLineIndex) {
          // if multiple statements exist in one line, afterHook is inserted only after the last statement,
          // since when multi-line statements are like:
          // method(1);method(
          //         2);
          // insertion to the middle of the statement causes problem
          if (!isLineLastStament(method, codeLineIndex)) {
              return -1;
          }
          // insert hook to the next line of the codeLine
          // since insertAt method inserts code just before the specified line
          CodeLine codeLine = method.getCodeBody().get(codeLineIndex);
          return codeLine.getEndLine() + 1;
      }
docs: Returns -1 if afterHook for the codeLineIndex should not be inserted