public class SingleValuedChecks extends java.lang.Object implements ConstraintChecks
ConstraintChecks
implementation that simply executes all
contained checks against given elements and annotations.Constructor and Description |
---|
SingleValuedChecks(ConstraintCheck... checks)
Creates a new SingleValuedChecks.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<ConstraintCheckIssue> |
execute(javax.lang.model.element.Element element,
javax.lang.model.element.AnnotationMirror annotation)
Executes the checks contained within this set against the given element
and annotation.
|
public SingleValuedChecks(ConstraintCheck... checks)
checks
- The checks to execute.public java.util.Set<ConstraintCheckIssue> execute(javax.lang.model.element.Element element, javax.lang.model.element.AnnotationMirror annotation)
ConstraintChecks
execute
in interface ConstraintChecks
element
- An annotated element.annotation
- The annotation to check.Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved