groovyannotations

Can I write annotations in Groovy?


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?


Solution

  • You can define annotations in Groovy.