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

Eric Milles updated GROOVY-4323:
--------------------------------
    Summary: Convention for read-only properties  (was: Convention for read 
only properties.)

> Convention for read-only properties
> -----------------------------------
>
>                 Key: GROOVY-4323
>                 URL: https://issues.apache.org/jira/browse/GROOVY-4323
>             Project: Groovy
>          Issue Type: New Feature
>          Components: syntax
>            Reporter: Luke Daley
>            Priority: Major
>
> Now that Groovy 1.7 enforces field finality, I am missing having a shortcut 
> for readonly fields.
> It would be nice to have something like:
> {code}
> class T {
>     @Readonly thing
> }
> {code}
> Which would surpress the generation of the setter that Groovy would 
> ordinarily create.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to