Searched refs:validateWithAnnotation (Results 1 – 1 of 1) sorted by relevance
23 public AnnotationValidator createAnnotationValidator(ValidateWith validateWithAnnotation) { in createAnnotationValidator() argument24 AnnotationValidator validator = VALIDATORS_FOR_ANNOTATION_TYPES.get(validateWithAnnotation); in createAnnotationValidator()29 Class<? extends AnnotationValidator> clazz = validateWithAnnotation.value(); in createAnnotationValidator()31 …ception("Can't create validator, value is null in annotation " + validateWithAnnotation.getClass()… in createAnnotationValidator()35 … VALIDATORS_FOR_ANNOTATION_TYPES.putIfAbsent(validateWithAnnotation, annotationValidator); in createAnnotationValidator()36 return VALIDATORS_FOR_ANNOTATION_TYPES.get(validateWithAnnotation); in createAnnotationValidator()