Package org.immutables.builder
Annotation Type 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 ClassesModifier and TypeClassDescriptionstatic @interfaceAnnotate nested static builder to get access to the builder's fields to avoid building the entire object.static @interfaceThe same asBuilder.Factory, but for constructors rather than static methods.static @interfaceAnnotate static factory methods that produce some value (non-void, non-private) to create builder out of constructor parameters.static @interfacestatic @interfaceFactory method parameter might be turned into builder parameter using this annotation.static @interfaceApplicable only to enum parameters, this annotation turns parameters into switcher methods on builder.