Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
If a class is marked with one of the annotations:
- groovy.transform.Immutable (already supported)
- groovy.transform.KnownImmutable (already supported)
- net.jcip.annotations.Immutable (supported by Findbugs and IntelliJ IDEA{{)}}
javax.annotation.concurrent.Immutable (its RetentionPolicy is CLASS, can not be got via reflection)
we will believe their promise and treat them as immutable class.