Interface ConstraintChecks
- All Known Implementing Classes:
MultiValuedChecks,SingleValuedChecks
public interface ConstraintChecks
Represents an ordered set of
ConstraintChecks with the ability
to execute these checks against given elements and their annotations.- Author:
- Gunnar Morling
-
Method Summary
Modifier and TypeMethodDescriptionexecute(Element element, AnnotationMirror annotation) Executes the checks contained within this set against the given element and annotation.
-
Method Details
-
execute
Executes the checks contained within this set against the given element and annotation.- Parameters:
element- An annotated element.annotation- The annotation to check.- Returns:
- A set with errors. Will be empty in case all checks passed successfully.
-