public class AnnotationUserMessageCheck extends AnnotationMessageCheck
annotationApiHelper| Constructor and Description |
|---|
AnnotationUserMessageCheck(AnnotationApiHelper annotationApiHelper) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canCheckThisAnnotation(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.
|
checkMessagecheckAnnotationType, checkField, checkMethod, checkNonAnnotationTypepublic AnnotationUserMessageCheck(AnnotationApiHelper annotationApiHelper)
protected boolean canCheckThisAnnotation(AnnotationMirror annotation)
AnnotationParametersAbstractCheckcanCheckThisAnnotation in class AnnotationMessageCheckannotation - annotation you want to process by this classtrue if such annotation can be processed, false otherwise.protected Set<ConstraintCheckIssue> doCheck(Element element, AnnotationMirror annotation)
AnnotationParametersAbstractCheckdoCheck in class AnnotationParametersAbstractCheckelement - annotated elementannotation - annotation to processConstraintCheckIssue errors if there are any validation issues with the annotation
parametersCopyright © 2007-2021 Red Hat, Inc. All Rights Reserved