Class AnnotationParametersSizeLengthCheck
java.lang.Object
org.hibernate.validator.ap.internal.checks.AbstractConstraintCheck
org.hibernate.validator.ap.internal.checks.annotationparameters.AnnotationParametersAbstractCheck
org.hibernate.validator.ap.internal.checks.annotationparameters.AnnotationParametersSizeLengthCheck
- All Implemented Interfaces:
ConstraintCheck
Checks that the parameters used on
jakarta.validation.constraints.Size and
org.hibernate.validator.constraints.Length annotations are valid.- Author:
- Marko Bekhta
-
Field Summary
Fields inherited from class org.hibernate.validator.ap.internal.checks.annotationparameters.AnnotationParametersAbstractCheck
annotationApiHelper -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationParametersSizeLengthCheck(AnnotationApiHelper annotationApiHelper) -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<ConstraintCheckIssue>doCheck(Element element, AnnotationMirror annotation) Method which actually performs the validation of the annotation parameters.Methods inherited from class org.hibernate.validator.ap.internal.checks.annotationparameters.AnnotationParametersAbstractCheck
canCheckThisAnnotation, checkAnnotationType, checkField, checkMethod, checkNonAnnotationType
-
Constructor Details
-
AnnotationParametersSizeLengthCheck
-
-
Method Details
-
doCheck
Description copied from class:AnnotationParametersAbstractCheckMethod which actually performs the validation of the annotation parameters.- Specified by:
doCheckin classAnnotationParametersAbstractCheck- Parameters:
element- annotated elementannotation- annotation to process- Returns:
- a set of
ConstraintCheckIssueerrors if there are any validation issues with the annotation parameters
-