@Override
    public boolean accepts(Class<?> extensionType, Method method) {
        return Modifier.isAbstract(method.getModifiers())                                        // any abstract method
                || (!extensionType.isInterface() && method.getDeclaringClass() != Object.class); // any non-interface type if the method is not from Object
    }
Provides {@link ExtensionHandler} instances for all methods that have not been covered in
any other way. It forwards a call to the handler to a method invocation on the target
object. For any extension factory that simply provides an implementation of the extension
interface, this forwards the call to the method on the implementation. The extension framework
wraps these calls into invocations that manage the extension context for the handle correctly
so that logging will work for all extension.
core/src/main/java/org/jdbi/v3/core/extension/InstanceExtensionHandlerFactory.java