Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.7.2
-
None
-
None
Description
As a minor but useful convenience for concurrent scenarios, it would be useful for Groovy to have a @Synchronized annotation similar to that offered by project Lombok:
http://projectlombok.org/features/Synchronized.html
It just makes it easier to follow good practice without having to remember all the rules.