@Override
    public Optional<ColumnMapper<?>> build(Type type, ConfigRegistry config) {
        return Optional.of(type)
            .filter(Class.class::isInstance)
            .map(Class.class::cast)
            .filter(supportedTypes::contains)
            .map(GetObjectColumnMapper<Object>::new);
    }
Creates a {@link ColumnMapperFactory} that accepts multiple types and maps them by calling {@link ResultSet#getObject(int, Class)}.

@param types One or more types that should be mapped by this factory
@return A {@link ColumnMapperFactory}
core/src/main/java/org/jdbi/v3/core/mapper/GetObjectColumnMapperFactory.java