Top Description Methods
groovy.transform

public @Interface KnownImmutable

extends Annotation
Annotations
@Documented
@Retention:RUNTIME
@Target:TYPE
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

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

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString