You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2020/11/11 02:01:05 UTC

[jira] [Closed] (GROOVY-9669) Enhance immutability check

     [ https://issues.apache.org/jira/browse/GROOVY-9669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King closed GROOVY-9669.
-----------------------------

> Enhance immutability check
> --------------------------
>
>                 Key: GROOVY-9669
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9669
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Daniel Sun
>            Assignee: Daniel Sun
>            Priority: Major
>             Fix For: 4.0.0-alpha-1, 3.0.6
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)