public class AnnotationDefaultMessageCheck extends AnnotationMessageCheck
annotationApiHelper
Constructor and Description |
---|
AnnotationDefaultMessageCheck(AnnotationApiHelper annotationApiHelper,
Elements elementUtils) |
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.
|
checkMessage
checkAnnotationType, checkField, checkMethod, checkNonAnnotationType
public AnnotationDefaultMessageCheck(AnnotationApiHelper annotationApiHelper, Elements elementUtils)
protected boolean canCheckThisAnnotation(AnnotationMirror annotation)
AnnotationParametersAbstractCheck
canCheckThisAnnotation
in class AnnotationMessageCheck
annotation
- annotation you want to process by this classtrue
if such annotation can be processed, false
otherwise.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-2019 Red Hat, Inc. All Rights Reserved