@Override
    protected boolean filterClass(CtClass inputClass, String inputClassName)
            throws NotFoundException {
        return inputClass.getSuperclass().getName().equals(getSourceDeclaringClassName())
                && !inputClassName.equals(getTargetClass().getName());
    }
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