Package: groovy.contracts

## [Java] Annotation Type RequiresConditions

- groovy.contracts.RequiresConditions

-     @Documented
      @Retention(RetentionPolicy.RUNTIME)
      @Target({ElementType.CONSTRUCTOR, ElementType.METHOD})
      public @interface RequiresConditions

  Container annotation for multiple Requires preconditions on the same target. Synthesized by the compiler from stacked `@Requires` annotations via Repeatable; not normally written by hand.

  Since:
    5.0.0
  See Also:
    Requires

- - ### Element Summary

    Required Element Summary
    Type | Name and Description
    --- | ---
    `Requires[]` | `value` Returns the repeated precondition annotations declared on the target element.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Element Detail

    - #### public Requires[] value

      Returns the repeated precondition annotations declared on the target element.

      Returns:
        the contained Requires annotations