Annotation Type Builder


@Target({}) public @interface Builder
This umbrella annotation does nothing. Use nested annotations, such as @ Builder.Factory to generate builders for arbitrary static factory methods. and is used for static factory methods to generate arbitrary builders. Immutable values as Value.Immutable generate builder by default, unless turned off using @Value.Immutable(builder=false)
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    Annotate nested static builder to get access to the builder's fields to avoid building the entire object.
    static @interface 
    The same as Builder.Factory, but for constructors rather than static methods.
    static @interface 
    Annotate static factory methods that produce some value (non-void, non-private) to create builder out of constructor parameters.
    static @interface 
     
    static @interface 
    Factory method parameter might be turned into builder parameter using this annotation.
    static @interface 
    Applicable only to enum parameters, this annotation turns parameters into switcher methods on builder.