Home
last modified time | relevance | path

Searched refs:validateWithAnnotation (Results 1 – 1 of 1) sorted by relevance

/external/junit/src/main/java/org/junit/validator/
DAnnotationValidatorFactory.java23 public AnnotationValidator createAnnotationValidator(ValidateWith validateWithAnnotation) { in createAnnotationValidator() argument
24 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()