static ExtensionHandler createForMethod(Method method) throws IllegalAccessException {
        final Class<?> declaringClass = method.getDeclaringClass();
        final MethodHandle methodHandle = MethodHandles.privateLookupIn(declaringClass, MethodHandles.lookup()).unreflect(method);
        return createForMethodHandle(methodHandle);
    }
Create an extension handler and bind it to a method that will be called on the
target object when invoked.
@param method The {@link Method} to bind to
@return An {@link ExtensionHandler}
@throws IllegalAccessException If the method could not be unreflected
core/src/main/java/org/jdbi/v3/core/extension/ExtensionHandler.java