public <A extends Annotation>void putValidatorClasses(Class<A> annotationType,List<Class<? extends ConstraintValidator<A,?>>> definitionClasses,boolean keepDefaultClasses){
  if (keepDefaultClasses) {
    List<Class<? extends ConstraintValidator<A,?>>> defaultValidators=getDefaultValidatorClasses(annotationType);
    for (    Class<? extends ConstraintValidator<A,?>> defaultValidator : defaultValidators) {
      definitionClasses.add(0,defaultValidator);
    }
  }
  validatorClasses.put(annotationType,definitionClasses);
}

public < A extends Annotation > void putValidatorClasses ( Class < A > annotationType , List < Class < ? extends ConstraintValidator < A , ? > > > definitionClasses , boolean keepDefaultClasses ) { if ( keepDefaultClasses ) { List < Class < ? extends ConstraintValidator < A , ? > > > defaultValidators = getDefaultValidatorClasses ( annotationType ) ; for ( Class < ? extends ConstraintValidator < A , ? > > defaultValidator : defaultValidators ) { definitionClasses . add ( 0 , defaultValidator ) ; } } validatorClasses . put ( annotationType , definitionClasses ) ; }
registers the given validator classes with the given constraint annotation type .
