Package groovy.transform


package groovy.transform
  • Class
    Description
    The AnnotationCollector can be used to define aliases for groups of annotations.
    This AST transformation aims at helping in debugging other AST transformations.
    Class annotation used to assist in the creation of Cloneable classes.
    Intended style to use for cloning when using the @AutoClone annotation.
    Variable annotation used for changing the base script class of the current script.
    Class annotation used to assist in the creation of mutable classes.
    This interface is for AST transformations which must be aware of the compilation unit where they are applied.
    This will let the Groovy compiler use compile time checks in the style of Java then perform static compilation, thus bypassing the Groovy meta object protocol.
    Class annotation used to assist in creating appropriate equals() and hashCode() methods.
    Class annotation used to assist in the creation of Externalizable classes.
    Class annotation used to assist in the creation of Externalizable classes.
    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 that creates a cache for the results of the execution of the annotated method.
    Method annotation used to invert test case results.
    Annotation used for turning off Groovy's auto visibility conventions.
    Intended target when @PackageScope is placed at the class level.
    This annotation can be added on a trait to declare the list of types that a class implementing that trait is supposed to extend.
    A class annotation used to make a class Comparable by multiple Comparators.
    Variable annotation used for getting the URI of the current script.
    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 of toString() methods in classes.
    Used to mark a class as being a trait.
    Class annotation used to assist in the creation of tuple constructors in classes.
    This will let the Groovy compiler use compile time checks in the style of Java.
    This annotation is added by @TypeChecked on methods which have type checking turned on.
    This enumeration can be used whenever it is preferred to annotate a class as TypeChecked in general, but where only one or more methods are "dynamic".
    Java doesn't allow you to have null as an attribute value.
     
    This annotation is used in conjunction with WithWriteLock to support read and write synchronization on a method.
    This annotation is used in conjunction with WithReadLock to support read and write synchronization on a method.