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

        Logger.warning(getCategoryName() + " reset parent for class " + inputClassName + " from "
                + inputClass.getSuperclass().getName() + " to " + getTarget());

        inputClass.setSuperclass(getTargetClass());
        return true;
    }
An transform that support for class parent reset

<p> See {@link ConstructorCallTryCatchTransformer}, {@link ConstructorExecutionTryCatchTransformer},
{@link InitializerExecutionTryCatchTransformer}, {@link MethodCallTryCatchTransformer},
{@link MethodCallTryCatchTransformer}
plugin/src/main/groovy/com/didichuxing/tools/droidassist/transform/enhance/ReparentClassTransformer.java