Class AnnotationParametersGroupsCheck
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.AnnotationParametersGroupsCheck
- All Implemented Interfaces:
ConstraintCheck
Checks that the groups parameter of any constraint annotation contains only interfaces.
- Author:
- Marko Bekhta
-
Field Summary
Fields inherited from class org.hibernate.validator.ap.internal.checks.annotationparameters.AnnotationParametersAbstractCheck
annotationApiHelper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanCheckThisAnnotation(AnnotationMirror annotation) Verify that this check class can process such annotation.protected 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
checkAnnotationType, checkField, checkMethod, checkNonAnnotationType
-
Constructor Details
-
AnnotationParametersGroupsCheck
-
-
Method Details
-
canCheckThisAnnotation
Description copied from class:AnnotationParametersAbstractCheckVerify that this check class can process such annotation.- Overrides:
canCheckThisAnnotationin classAnnotationParametersAbstractCheck- Parameters:
annotation- annotation you want to process by this class- Returns:
trueif such annotation can be processed,falseotherwise.
-
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
-