public static RowMapperFactory factory(Class<?> clazz, Class<?> factoryMethodClass) {
        return RowMapperFactory.of(clazz, of(clazz, factoryMethodClass));
    }
Use the only declared static factory method to map a class.

@param clazz the class to static factory method for
@param factoryMethodClass the type to inspect for a static factory method
@return the factory
core/src/main/java/org/jdbi/v3/core/mapper/reflect/ConstructorMapper.java