Transforms an instance-style Groovy class or interface to become a static-style
conventional Groovy category.
Groovy categories are the original mechanism used
by Groovy when augmenting classes with new methods. Writing categories required
using a class writing style where all methods were static and an additional
self parameter was defined. The self parameter and static nature of the methods
disappeared once applied by Groovy's metaclass framework but some regarded
the writing style as a little noisy. This transformation allows you to write
your categories without the "apparent noise" but adds it back in during
compilation so that the classes appear as normal categories.
It might seem strange writing your class/object enhancements using a succinct
notation, then having "noise" added, then having the noise removed during
category application. If this worries you, then you may also like to consider
using Groovy's ExpandoMetaClass mechanism which avoids
the category a limage/x-icon" rel="shortcut icon">