public class AnnotationParametersSizeLengthCheck extends AnnotationParametersAbstractCheck
javax.validation.constraints.Size
and
org.hibernate.validator.constraints.Length
annotations are valid.annotationApiHelper
Constructor and Description |
---|
AnnotationParametersSizeLengthCheck(AnnotationApiHelper annotationApiHelper) |
Modifier and Type | Method and Description |
---|---|
protected Set<ConstraintCheckIssue> |
doCheck(Element element,
AnnotationMirror annotation)
Method which actually performs the validation of the annotation parameters.
|
canCheckThisAnnotation, checkAnnotationType, checkField, checkMethod, checkNonAnnotationType
public AnnotationParametersSizeLengthCheck(AnnotationApiHelper annotationApiHelper)
protected Set<ConstraintCheckIssue> doCheck(Element element, AnnotationMirror annotation)
AnnotationParametersAbstractCheck
doCheck
in class AnnotationParametersAbstractCheck
element
- annotated elementannotation
- annotation to processConstraintCheckIssue
errors if there are any validation issues with the annotation
parametersCopyright © 2007-2020 Red Hat, Inc. All Rights Reserved