Replace concrete ConstraintValidatorFactory type hint with interface