public class PrimitiveCheck extends AbstractConstraintCheck
| Constructor and Description |
|---|
PrimitiveCheck() |
| Modifier and Type | Method and Description |
|---|---|
Set<ConstraintCheckIssue> |
checkField(VariableElement element,
AnnotationMirror annotation)
Checks, whether the given annotation is allowed at the given field.
|
Set<ConstraintCheckIssue> |
checkMethod(ExecutableElement element,
AnnotationMirror annotation)
Checks, whether the given annotation is allowed at the given method.
|
checkAnnotationType, checkNonAnnotationTypepublic Set<ConstraintCheckIssue> checkField(VariableElement element, AnnotationMirror annotation)
ConstraintCheckcheckField in interface ConstraintCheckcheckField in class AbstractConstraintCheckelement - An annotated field.annotation - An annotation at that field.public Set<ConstraintCheckIssue> checkMethod(ExecutableElement element, AnnotationMirror annotation)
ConstraintCheckcheckMethod in interface ConstraintCheckcheckMethod in class AbstractConstraintCheckelement - An annotated method.annotation - An annotation at that method.Copyright © 2007-2019 Red Hat, Inc. All Rights Reserved