Package groovy.transform.builder
package groovy.transform.builder
-
ClassDescriptionThe
@BuilderAST transformation is used to help write classes that can be created using fluent api calls. The transform supports multiple building strategies to cover a range of cases and there are a number of configuration options to customize the building process.This strategy is used with theBuilderAST transform to create a builder helper class for the fluent creation of instances of a specified class. It can be used at the class, static method or constructor levels.This strategy is used with theBuilderAST transform to populate a builder helper class so that it can be used for the fluent creation of instances of a specified class. The specified class is not modified in any way and may be a Java class.This strategy is used with theBuilderAST transform to create a builder helper class for the fluent and type-safe creation of instances of a specified class.Internal phantom type used by theInitializerStrategyto indicate that a property has been set.Internal phantom type used by theInitializerStrategyto indicate that a property remains unset.This strategy is used with theBuilderAST transform to modify your Groovy objects so that the setter methods for properties return the original object, thus allowing chained usage of the setters.