public class AnnotationTypeMemberCheck extends AbstractConstraintCheck
| Constructor and Description |
|---|
AnnotationTypeMemberCheck(AnnotationApiHelper annotationApiHelper,
Types typeUtils) |
| Modifier and Type | Method and Description |
|---|---|
Set<ConstraintCheckError> |
checkAnnotationType(TypeElement element,
AnnotationMirror annotation)
Checks, whether the given annotation is allowed at the given annotation
type declaration.
|
checkField, checkMethod, checkNonAnnotationTypepublic AnnotationTypeMemberCheck(AnnotationApiHelper annotationApiHelper, Types typeUtils)
public Set<ConstraintCheckError> checkAnnotationType(TypeElement element, AnnotationMirror annotation)
ConstraintCheckcheckAnnotationType in interface ConstraintCheckcheckAnnotationType in class AbstractConstraintCheckelement - An annotated annotation type declaration.annotation - An annotation at that annotation type.Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved