Paul King created GROOVY-9754:
---------------------------------

             Summary: 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


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)

Reply via email to