groovy.lang
Annotation Type Category


@Retention(value=SOURCE)
@Target(value=TYPE)
public @interface Category

Annotates a groovy class or interface to become category - all methods transformed to static ones with additional parameter self of type defined by annotation parameter. Properties invoked using 'this' reference are transformed so that they are invoked on the additional self parameter and not on the Category instance

Author:
Alex Tkachman

Optional Element Summary
 java.lang.Class value
           
 

value

public abstract java.lang.Class value
Default:
java.lang.Object.class


Copyright © ${year} The Codehaus. All Rights Reserved.