Class ValidationAnnotationUtils
java.lang.Object
org.springframework.validation.annotation.ValidationAnnotationUtils
Utility class for handling validation annotations.
 Mainly for internal use within the framework.
- Since:
- 5.3.7
- Author:
- Christoph Dreis
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Object[]Determine any validation hints by the given annotation.
- 
Constructor Details- 
ValidationAnnotationUtilspublic ValidationAnnotationUtils()
 
- 
- 
Method Details- 
determineValidationHintsDetermine any validation hints by the given annotation.This implementation checks for @jakarta.validation.Valid, Spring'sValidated, and custom annotations whose name starts with "Valid".- Parameters:
- ann- the annotation (potentially a validation annotation)
- Returns:
- the validation hints to apply (possibly an empty array),
 or nullif this annotation does not trigger any validation
 
 
-