KnownImmutable (Groovy 5.0.7)

Package: groovy.transform

## [Java] Annotation Type KnownImmutable

- groovy.transform.KnownImmutable

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

  Class annotation used as a marker for immutable classes. Not usually used explicitly but rather implicitly via the `@Immutable` meta annotation which adds it automatically. If you create your own Java or Groovy immutable class manually, you can add this annotation if you don't want to have to list your class as one of the known immutable classes.

  See Also:
    Immutable
  Since:
    2.5.0

- - ### Inherited Methods Summary

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