KnownImmutable (Groovy 5.0.6)
Description: declaration: package: groovy.transform, annotation type: KnownImmutable

Package groovy.transform

# Annotation Type KnownImmutable

@Documented @Retention(RUNTIME) @Target(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.

Since:
  2.5.0
See Also:
  - `Immutable`