groovy / 4.0 / org / apache / groovy / contracts / annotations / meta / classinvariant.html

[Java] Annotation Type ClassInvariant

  • org.apache.groovy.contracts.annotations.meta.ClassInvariant
@Retention(RetentionPolicy.RUNTIME)
@Documented
@ContractElement
public @interface ClassInvariant

Indicates that annotations being marked as @ClassInvariant are to be treated as class invariant modifying annotations.

Inherited Methods Summary

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

© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/org/apache/groovy/contracts/annotations/meta/ClassInvariant.html