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 Type
    Method
    Description
    execute(Element element, AnnotationMirror annotation)
    Executes the checks contained within this set against the given element and annotation.
  • Method Details

    • execute

      Set<ConstraintCheckIssue> execute(Element element, AnnotationMirror annotation)
      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.