Questions tagged [freebuilder]

Automatic generation of the Builder pattern for Java.

Homepage: https://github.com/google/FreeBuilder

Alternatives:

  • AutoValue
  • Immutables
  • Lombok
2 questions
1
vote
1 answer

Gradle plugin confusion/conflict with AutoValue and FreeBuilder

I am experimenting with Gradle/IntelliJ and various Java builders/containers. However, I am unable to configure both org.inferred.FreeBuilder and com.google.auto.value.AutoValue in the same project. With the build.gradle file below, I am able to…
Leon
  • 1,141
  • 13
  • 25
0
votes
1 answer

Automatic generation of builder pattern that boxes generic type

A command is instantiated by a Builder, that, when setting values, wraps them in an Undefined object (this is then used in the execute method to set the book's title only if the newTitle has been set). The command class: public class…
AllirionX
  • 1,073
  • 6
  • 13