Comment by Guillaume Laforge on 2006-07-12 00:36:20 Groovy won't fully support annotations before 1.x or 2.0. And this @Property annotation was verbose and somewhat foreign to the rest of the language. So instead of it, we prefer a less verbose and simpler convention for defining properties (private fields with getter and setter), rather than a half-backed pseudo hard-coded annotation. This annotation was first introduced when the idea of AST (Abstract Syntax Tree) macros emerged, but which hasn't been implemented so far, if ever. |
Comment by 'Guest' on 2006-07-06 07:34:46 What were the reasons for @Property to be inserted and then removed from Groovy? It seems logical to mark a variable as a property if it was being used as one.
|