Do you prefer to extract full SPI or simple Predicate would be sufficient ?
HibernateValidatorConfiguration registerGetterSelector(Predicate<ConstrainedExecutable> filter);