public class AnnotationParametersGroupsCheck extends AnnotationParametersAbstractCheck
annotationApiHelper
Constructor and Description |
---|
AnnotationParametersGroupsCheck(AnnotationApiHelper annotationApiHelper) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canCheckThisAnnotation(javax.lang.model.element.AnnotationMirror annotation)
Verify that this check class can process such annotation.
|
protected java.util.Set<ConstraintCheckIssue> |
doCheck(javax.lang.model.element.Element element,
javax.lang.model.element.AnnotationMirror annotation)
Method which actually performs the validation of the annotation parameters.
|
checkAnnotationType, checkField, checkMethod, checkNonAnnotationType
public AnnotationParametersGroupsCheck(AnnotationApiHelper annotationApiHelper)
protected boolean canCheckThisAnnotation(javax.lang.model.element.AnnotationMirror annotation)
AnnotationParametersAbstractCheck
canCheckThisAnnotation
in class AnnotationParametersAbstractCheck
annotation
- annotation you want to process by this classtrue
if such annotation can be processed, false
otherwise.protected java.util.Set<ConstraintCheckIssue> doCheck(javax.lang.model.element.Element element, javax.lang.model.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-2022 Red Hat, Inc. All Rights Reserved