From 870937a46f912592206abda57638d142ae81e763 Mon Sep 17 00:00:00 2001
From: Reinier Zwitserloot toBuilder() (default: no)
public).
+ Person.builder().setName("Jane").build() instead of Person.builder().name("Jane").build() and what it should be.
- @Builder(builderClassName = "HelloWorldBuilder", buildMethodName = "execute", builderMethodName = "helloWorld", toBuilder = true, access = AccessLevel.PRIVATE)
+ @Builder(builderClassName = "HelloWorldBuilder", buildMethodName = "execute", builderMethodName = "helloWorld", toBuilder = true, access = AccessLevel.PRIVATE, setterPrefix = "set")
The snippet below does not show what lombok generates for a @Singular field/parameter because it is rather complicated. You can view a snippet here.
+
+ If also using setterPrefix = "with", the generated names are, for example, withName (add 1 name), withNames (add many names), and clearNames (reset all names).