I know I can annotate my classes in Groovy with annotations, but can I write the annotation itself in Groovy (as opposed to just using annotation written in Java)? If so, from what version?
+1
A:
Yes you can. Take a look at this link: http://groovy.codehaus.org/Annotations+with+Groovy
Kico Lobo
2009-11-24 16:46:23
I've seen the page before and still I can't see example of annotation defined in groovy :(
Dan
2009-11-24 18:48:32
+1
A:
Defining of annotations in groovy is not yet supported by the compiler. Since, there is a joint compiler it is not a big problem but sure does take some groovy-ness away from groovy :-)
See more: http://groovy.codehaus.org/Annotations+with+Groovy
Ask when it will be supported here: [email protected]
stack.trace
2009-11-25 14:08:44