public abstract class ValidationAnnotationUtils extends Object
Constructor and Description |
---|
ValidationAnnotationUtils() |
Modifier and Type | Method and Description |
---|---|
static Object[] |
determineValidationHints(Annotation ann)
Determine any validation hints by the given annotation.
|
@Nullable public static Object[] determineValidationHints(Annotation ann)
This implementation checks for @javax.validation.Valid
,
Spring's Validated
,
and custom annotations whose name starts with "Valid".
ann
- the annotation (potentially a validation annotation)null
if this annotation does not trigger any validation