public class GroupSequenceProviderCheck extends AbstractConstraintCheck
GroupSequenceProvider
annotation definition is valid.
This check ensure that :
DefaultGroupSequenceProvider
, not an interface or an abstract class.GroupSequence
.Constructor and Description |
---|
GroupSequenceProviderCheck(AnnotationApiHelper annotationApiHelper,
Types typeUtils) |
Modifier and Type | Method and Description |
---|---|
Set<ConstraintCheckError> |
checkNonAnnotationType(TypeElement 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, Types typeUtils)
public Set<ConstraintCheckError> checkNonAnnotationType(TypeElement 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-2014 Red Hat Middleware, LLC. All Rights Reserved