public class MixDirectAndListAnnotationCheck extends AbstractConstraintCheck
Constructor and Description |
---|
MixDirectAndListAnnotationCheck(ConstraintHelper constraintHelper) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<ConstraintCheckIssue> |
checkAnnotationType(javax.lang.model.element.TypeElement element,
javax.lang.model.element.AnnotationMirror annotation)
Checks, whether the given annotation is allowed at the given annotation
type declaration.
|
checkField, checkMethod, checkNonAnnotationType
public MixDirectAndListAnnotationCheck(ConstraintHelper constraintHelper)
public java.util.Set<ConstraintCheckIssue> checkAnnotationType(javax.lang.model.element.TypeElement element, javax.lang.model.element.AnnotationMirror annotation)
ConstraintCheck
checkAnnotationType
in interface ConstraintCheck
checkAnnotationType
in class AbstractConstraintCheck
element
- An annotated annotation type declaration.annotation
- An annotation at that annotation type.Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved