From c1039553b088dc45d272b942d930414d3224b06c Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 9 Jul 2019 00:10:36 +0200 Subject: [builder] added a feature: you can now configure builder class name via the config system --- website/templates/features/Builder.html | 4 ++++ website/templates/features/experimental/SuperBuilder.html | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'website/templates/features') diff --git a/website/templates/features/Builder.html b/website/templates/features/Builder.html index 4fe416ee..af1ffd3a 100644 --- a/website/templates/features/Builder.html +++ b/website/templates/features/Builder.html @@ -160,6 +160,10 @@ public class JacksonExample { <@f.confKeys>
+ lombok.builder.className = [a java identifier with an optional star to indicate where the return type name goes] (default: *Builder) +
+ Unless you explicitly pick the builder's class name with the builderClassName parameter, this name is chosen; any star in the name is replaced with the relevant return type. +
lombok.builder.flagUsage = [warning | error] (default: not set)
Lombok will flag any usage of @Builder as a warning or error if configured. diff --git a/website/templates/features/experimental/SuperBuilder.html b/website/templates/features/experimental/SuperBuilder.html index c68e28ca..5676b60c 100644 --- a/website/templates/features/experimental/SuperBuilder.html +++ b/website/templates/features/experimental/SuperBuilder.html @@ -52,6 +52,10 @@ <@f.confKeys>
+ lombok.builder.className = [a java identifier with an optional star to indicate where the return type name goes] (default: *Builder) +
+ This is the name of the generated builder class; any star in the name is replaced with the relevant return type. Note that the parent class must also have the same setting (the entire type hierarchy annoated with @SuperBuilder needs the same setting). +
lombok.superBuilder.flagUsage = [warning | error] (default: not set)
Lombok will flag any usage of @SuperBuilder as a warning or error if configured. -- cgit