开发者

Can I write annotations in Groovy?

I know I can annota开发者_如何学编程te 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?


You can define annotations in Groovy.

See more: http://docs.groovy-lang.org/latest/html/documentation/#_annotation

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜