FWIW, nowadays one can use `org.hibernate.search.engine.common.spi.SearchIntegrationEnvironment.Builder#classResolver`. I don't know why we would use a custom thing there, but it exists.
Closing.