public class GetterCheck extends AbstractConstraintCheck
Constructor and Description |
---|
GetterCheck(boolean methodConstraintsSupported) |
Modifier and Type | Method and Description |
---|---|
Set<ConstraintCheckError> |
checkMethod(ExecutableElement element,
AnnotationMirror annotation)
Checks, whether the given annotation is allowed at the given method.
|
checkAnnotationType, checkField, checkNonAnnotationType
public Set<ConstraintCheckError> checkMethod(ExecutableElement element, AnnotationMirror annotation)
ConstraintCheck
checkMethod
in interface ConstraintCheck
checkMethod
in class AbstractConstraintCheck
element
- An annotated method.annotation
- An annotation at that method.Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved