- groovy.contracts.Invariants
-
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Invariants
Container annotation for multiple Invariant declarations on the same type.
Synthesized by the compiler from stacked @Invariant annotations via
Repeatable; not normally written by hand.
- Since:
- 5.0.0
- See Also:
- Invariant
-
-
Element Summary
Required Element Summary
| Type |
Name and Description |
Invariant[] |
value Returns the repeated invariant annotations declared on the annotated type. |
-
Inherited Methods Summary
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.