Dan
Dan

Reputation: 11183

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?

Upvotes: 5

Views: 9391

Answers (1)

user218612
user218612

Reputation:

You can define annotations in Groovy.

Upvotes: 5

Related Questions