• Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Get the allowed value constraints for the type or field this annotation is applied to.
    Get the expect constraints for the type or field this annotation is applied to.
    Get the index-has-key constraints for the type or field this annotation is applied to.
    Let[]
    Get the let statements for the type of field this annotation is applied to.
    Get the matches constraints for the type or field this annotation is applied to.
  • Element Details

    • lets

      @NonNull Let[] lets
      Get the let statements for the type of field this annotation is applied to.
      Returns:
      the let statements or an empty array if no let statements are defined
      Default:
      {}
    • allowedValues

      Get the allowed value constraints for the type or field this annotation is applied to.
      Returns:
      the allowed values or an empty array if no allowed values constraints are defined
      Default:
      {}
    • matches

      @NonNull Matches[] matches
      Get the matches constraints for the type or field this annotation is applied to.
      Returns:
      the allowed values or an empty array if no allowed values constraints are defined
      Default:
      {}
    • indexHasKey

      Get the index-has-key constraints for the type or field this annotation is applied to.
      Returns:
      the allowed values or an empty array if no allowed values constraints are defined
      Default:
      {}
    • expect

      @NonNull Expect[] expect
      Get the expect constraints for the type or field this annotation is applied to.
      Returns:
      the expected constraints or an empty array if no expected constraints are defined
      Default:
      {}