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:02:05 UTC
[jira] [Closed] (GROOVY-9754) Provide a record-like equivalent
[ https://issues.apache.org/jira/browse/GROOVY-9754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-9754.
-----------------------------
> Provide a record-like equivalent
> --------------------------------
>
> Key: GROOVY-9754
> URL: https://issues.apache.org/jira/browse/GROOVY-9754
> Project: Groovy
> Issue Type: New Feature
> Reporter: Paul King
> Assignee: Paul King
> Priority: Major
> Fix For: 4.0.0-alpha-1
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> This issue is to look at providing an equivalent to JDK14 records. In the first instance, something like:
> {code}
> @RecordType
> class PersonRecord implements Person, Serializable {
> String firstName
> String lastName
> }
> {code}
> Outside the scope of this issue, we can consider syntactic sugar in the grammar to have similar syntax to Java.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)