类 ValidationAnnotationUtils
java.lang.Object
cn.taketoday.validation.annotation.ValidationAnnotationUtils
Utility class for handling validation annotations.
Mainly for internal use within the framework.
- 从以下版本开始:
- 4.0
- 作者:
- Christoph Dreis
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
ValidationAnnotationUtils
public ValidationAnnotationUtils()
-
-
方法详细资料
-
determineValidationHints
Determine any validation hints by the given annotation.This implementation checks for
@jakarta.validation.Valid, Framework'sValidated, and custom annotations whose name starts with "Valid".- 参数:
ann- the annotation (potentially a validation annotation)- 返回:
- the validation hints to apply (possibly an empty array),
or
nullif this annotation does not trigger any validation
-