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.
    Annotation to automatically add the final qualifier to method, constructor, and closure parameters.
    Class annotation used to provide default dummy methods for a class extending an abstract super class or implementing one or more interfaces.
    Variable annotation used for changing the base script class of the current script.
    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.
    Intended mode to use when generating constructors to emulate default parameter values when using the TupleConstructor annotation.
    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.
    Annotation to add the final modifier to classes, methods, constructors, and fields.
    The Generated annotation is used to mark members that have been generated.
    Class annotation used to assist in the creation of immutable classes.
    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.
    The Internal annotation is used to mark members that are internal.
    Class annotation used as a marker for immutable classes.
    Class annotation used to assist in the creation of map constructors in classes.
    Method annotation that creates a cache for the results of the execution of the annotated method.
    Marker interface used to indicate that the property names of the annotated parameter represent valid key names when using named arguments and that the property types are applicable for type checking purposes.
    Marker interface used to indicate that the name of the annotated parameter (or specified optional name) is a valid key name when using named arguments and that the parameter type is applicable for type checking purposes.
    Collector annotation for NamedParam.
    Allows construction of a named-arg equivalent method or constructor.
    Class annotation used to demarcate non-sealed classes.
    Class, method or constructor annotation which indicates that each parameter should be checked to ensure it isn't null.
    Annotation used for turning off Groovy's auto visibility conventions.
    Intended target when @PackageScope is placed at the class level.
    Marker annotation used to indicate that special property handling code will be generated for this class.
    Mark the return value of "pure" method only comes from expressions involving constants or other pure methods
    Class annotation used to assist in the creation of record-like classes.
    Class annotation used to assist in the creation of record-like classes.
    Intended mode to use for records when using the @RecordType annotation (or record keyword).
    Class annotation used to assist in the creation of sealed classes.
    Intended mode to use for sealed classes when using the @Sealed annotation (or sealed keyword).
    Class annotation used to assist in the creation of sealed classes.
    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 (potentially) 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.
    Method annotation used to transform methods with tail recursive calls into iterative methods automagically since the JVM cannot do this itself.
    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.
     
     
    Marker annotation used in the context of AST transformations to provide a custom visibility.
    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.