@SuppressWarnings("unchecked")
    protected PojoProperties<T> getProperties(ConfigRegistry config) {
        return (PojoProperties<T>) config.get(PojoTypes.class).findFor(type)
            .orElseThrow(() -> new UnableToProduceResultException("Couldn't find properties for " + type));
    }
This class is the future home of BeanMapper functionality.
core/src/main/java/org/jdbi/v3/core/mapper/reflect/internal/PojoMapper.java