Class GroupSequenceCheck
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.GroupSequenceCheck
- All Implemented Interfaces:
ConstraintCheck
Checks that the GroupSequence definition is valid.
- the class list contains only interfaces (except for the hosting bean in the case of default group sequence redefinition)
- the defined group sequence is expandable (no cyclic definition)
- the group sequence does not extend other interfaces
- Author:
- Marko Bekhta, Guillaume Smet
-
Field Summary
Fields inherited from class org.hibernate.validator.ap.internal.checks.annotationparameters.AnnotationParametersAbstractCheck
annotationApiHelper -
Constructor Summary
ConstructorsConstructorDescriptionGroupSequenceCheck(AnnotationApiHelper annotationApiHelper, Types typeUtils, ConstraintHelper constraintHelper) -
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
-
GroupSequenceCheck
public GroupSequenceCheck(AnnotationApiHelper annotationApiHelper, Types typeUtils, ConstraintHelper constraintHelper)
-
-
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
-