public class MultiValuedChecks extends java.lang.Object implements ConstraintChecks
ConstraintChecks
implementation that executes the contained checks
against all parts of given multi-valued annotations.Constructor and Description |
---|
MultiValuedChecks(ConstraintHelper constraintHelper,
ConstraintCheck... checks)
Creates a new MultiValuedChecks.
|
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 MultiValuedChecks(ConstraintHelper constraintHelper, ConstraintCheck... checks)
constraintHelper
- Helper for handling multi-valued constraints.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