You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by GitBox <gi...@apache.org> on 2021/08/12 01:30:42 UTC
[GitHub] [groovy] paulk-asert commented on pull request #1608: GROOVY-10195: Groovy should have a @Final AST transform
paulk-asert commented on pull request #1608:
URL: https://github.com/apache/groovy/pull/1608#issuecomment-897276712
It would be possible to combine but I think would be more cumbersome. Instead of:
```
class Foo {
@AutoFinal bar(param1, param2) { ... } // params will be final
@Final baz(param1, param2) { ... } // baz will be final
}
```
You would need something like:
```
class Foo {
@Final(enabled=false, autoParams=true) bar(param1, param2) { ... } // params will be final
@Final baz(param1, param2) { ... } // baz will be final
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@groovy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org