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