Groovy Category Annotation

Annotations really provides a whole new view of programming things. Groovy also provides some of its own annotations one of them is Category. Lets take an example of using it. We create a IntegerUtil class and annotate it with Category. [java] @Category(Integer) class IntegerUtil { List&lt;Integer&gt; multiples(Integer...

by Uday Pratap Singh
Tag: groovy category annotation