Package groovy.transform
package groovy.transform
-
ClassDescriptionNote: This annotation is currently experimental! Use at your own risk!Intended style to use for cloning when using the
@
AutoClone annotation.Note: This annotation is currently experimental! Use at your own risk!Class annotation used to assist in the creation of mutable classes.Class annotation used to assist in creating appropriateequals()
andhashCode()
methods.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.Class annotation used to assist in the creation of immutable classes.Field annotation used with properties to provide an indexed getter and setter for the property.Class annotation to make constructors from a super class available in a sub class.Method annotation used to invert test case results.Class, method or field annotation used for turning off Groovy's auto visibility conventions.Intended target when@
PackageScope is placed at the class level.Method annotation to make a method call synchronized for concurrency handling with some useful baked-in conventions.Class annotation used to assist in the creation oftoString()
methods in classes.Class annotation used to assist in the creation of tuple constructors in classes.This annotation is used in conjunction withWithWriteLock
to support read and write synchronization on a method.
To use this annotation, declare@WithReadLock
on your method.This annotation is used in conjunction withWithReadLock
to support read and write synchronization on a method.
To use this annotation, declare@WithWriteLock
on your method.