Package groovy.transform

Interface Summary
CompilationUnitAware This interface is for AST transformations which must be aware of the compilation unit where they are applied.
 

Enum Summary
AutoCloneStyle Intended style to use for cloning when using the @AutoClone annotation.
PackageScopeTarget Intended target when @PackageScope is placed at the class level.
 

Annotation Types Summary
AutoClone Note: This annotation is currently experimental! Use at your own risk!

Class annotation used to assist in the creation of Cloneable classes.

AutoExternalize Note: This annotation is currently experimental! Use at your own risk!

Class annotation used to assist in the creation of Externalizable classes.

Canonical Class annotation used to assist in the creation of mutable classes.
EqualsAndHashCode Class annotation used to assist in creating appropriate equals() and hashCode() methods.
Field Variable annotation used for changing the scope of a variable within a script from being within the run method of the script to being at the class level for the script.
Immutable Class annotation used to assist in the creation of immutable classes.
IndexedProperty Field annotation used with properties to provide an indexed getter and setter for the property.
InheritConstructors Class annotation to make constructors from a super class available in a sub class.
PackageScope Class, method or field annotation used for turning off Groovy's auto visibility conventions.
Synchronized Method annotation to make a method call synchronized for concurrency handling with some useful baked-in conventions.
ToString Class annotation used to assist in the creation of toString() methods in classes.
TupleConstructor Class annotation used to assist in the creation of tuple constructors in classes.
TypeChecked This will let the Groovy compiler use compile time checks in the style of Java.
WithReadLock This annotation is used in conjunction with WithWriteLock to support read and write synchronization on a method.

To use this annotation, declare @WithReadLock on your method.
WithWriteLock This annotation is used in conjunction with WithReadLock to support read and write synchronization on a method.

To use this annotation, declare @WithWriteLock on your method.
 


Copyright © 2003-2011 The Codehaus. All rights reserved.