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