@Override
    protected boolean execute(
            CtClass inputClass,
            String inputClassName,
            CtMethod method)
            throws CannotCompileException, NotFoundException {

        String name = method.getName();
        String signature = method.getSignature();

        if (!isMatchSourceMethod(inputClass, false, name, signature, method, true)) {
            return false;
        }
        String target = getTarget();

        ClassUtils.newMethodDelegate(
                inputClass,
                method,
                (source, result) -> {
                    String body = "{" + getTimingStatement(source, target) + "}";
                    return getReplaceStatement(inputClassName, (CtMethod) result.getSource(), body);
                });

        Logger.warning(getPrettyName() + " by: " + target
                + " at " + inputClassName + ".java" + ":" + name);

        return true;
    }
Transform that adds method-execute time-consuming statistics code.
plugin/src/main/groovy/com/didichuxing/tools/droidassist/transform/enhance/MethodExecutionTimingTransformer.java