static QualifiedColumnMapperFactory adapt(ColumnMapperFactory factory) {
        return (type, config) -> type.getQualifiers().equals(
                config.get(Qualifiers.class).findFor(factory.getClass()))
            ? factory.build(type.getType(), config)
            : Optional.empty();
    }
Adapts a {@link ColumnMapperFactory} into a QualifiedColumnMapperFactory. The returned
factory only matches qualified types with zero qualifiers.

@param factory the factory to adapt
core/src/main/java/org/jdbi/v3/core/mapper/QualifiedColumnMapperFactory.java