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 2016/07/19 07:22:20 UTC
[jira] [Assigned] (GROOVY-7600) @Immutable support for Optional?
[ https://issues.apache.org/jira/browse/GROOVY-7600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King reassigned GROOVY-7600:
---------------------------------
Assignee: Paul King
> @Immutable support for Optional?
> --------------------------------
>
> Key: GROOVY-7600
> URL: https://issues.apache.org/jira/browse/GROOVY-7600
> Project: Groovy
> Issue Type: Improvement
> Affects Versions: 2.4.4
> Reporter: Christopher Smith
> Assignee: Paul King
>
> The {{@Immutable}} transform does not have any particular understanding of {{java.util.Optional}}. The holder class itself is immutable, but the logical immutability depends on the contained type. It would be helpful for {{@Immutable}} to understand such holder types and do its sanity check on the generic type.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)