public class GroupSequenceProviderCheck extends AbstractConstraintCheck
GroupSequenceProvider
annotation definition is valid.
DefaultGroupSequenceProvider
, not
an interface or an abstract class.GroupSequence
.Constructor and Description |
---|
GroupSequenceProviderCheck(AnnotationApiHelper annotationApiHelper,
javax.lang.model.util.Types typeUtils) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<ConstraintCheckIssue> |
checkNonAnnotationType(javax.lang.model.element.TypeElement element,
javax.lang.model.element.AnnotationMirror annotation)
Checks, whether the given annotation is allowed at the given type
declaration (class, interface, enum).
|
checkAnnotationType, checkField, checkMethod
public GroupSequenceProviderCheck(AnnotationApiHelper annotationApiHelper, javax.lang.model.util.Types typeUtils)
public java.util.Set<ConstraintCheckIssue> checkNonAnnotationType(javax.lang.model.element.TypeElement element, javax.lang.model.element.AnnotationMirror annotation)
ConstraintCheck
checkNonAnnotationType
in interface ConstraintCheck
checkNonAnnotationType
in class AbstractConstraintCheck
element
- An annotated type declaration.annotation
- An annotation at that type.Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved