Package: groovy.contracts

## [Java] Annotation Type Invariants

- groovy.contracts.Invariants

-     @Documented
      @Retention(RetentionPolicy.RUNTIME)
      @Target(ElementType.TYPE)
      @Incubating
      public @interface Invariants

  Represents multiple invariants

- - ### Element Summary

    Required Element Summary
    Type | Name and Description
    --- | ---
    `Invariant[]` | `value` Returns the repeated invariant annotations declared on the annotated type.

  - ### Inherited Methods Summary

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

- - ### Element Detail

    - #### public Invariant[] value

      Returns the repeated invariant annotations declared on the annotated type.

      Returns:
        the contained Invariant annotations