From fc04b74c67f05b1ba099275645b75e6373ac3b5a Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Thu, 27 Feb 2020 22:26:36 +0100 Subject: [fixes #2377] documentation about configkey lombok.noArgsConstructor.extraPrivate was incorrect --- website/templates/features/Data.html | 4 ++++ website/templates/features/Value.html | 4 ++-- website/templates/features/constructor.html | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) (limited to 'website') diff --git a/website/templates/features/Data.html b/website/templates/features/Data.html index 36278819..f8a6c4d9 100644 --- a/website/templates/features/Data.html +++ b/website/templates/features/Data.html @@ -26,6 +26,10 @@ lombok.data.flagUsage = [warning | error] (default: not set)
Lombok will flag any usage of @Data as a warning or error if configured. +
+ lombok.noArgsConstructor.extraPrivate = [true | false] (default: false) +
+ If true, lombok will generate a private no-args constructor for any @Data annotated class, which sets all fields to default values (null / 0 / false).
diff --git a/website/templates/features/Value.html b/website/templates/features/Value.html index f6ef9403..c41b6b10 100644 --- a/website/templates/features/Value.html +++ b/website/templates/features/Value.html @@ -30,9 +30,9 @@
Lombok will flag any usage of @Value as a warning or error if configured.
- lombok.val.flagUsage = [warning | error] (default: not set) + lombok.noArgsConstructor.extraPrivate = [true | false] (default: false)
- Lombok will flag any usage of val as a warning or error if configured. + If true, lombok will generate a private no-args constructor for any @Value annotated class, which sets all fields to default values (null / 0 / false).
diff --git a/website/templates/features/constructor.html b/website/templates/features/constructor.html index 02380319..f9ee775d 100644 --- a/website/templates/features/constructor.html +++ b/website/templates/features/constructor.html @@ -42,6 +42,10 @@ lombok.copyableAnnotations = [A list of fully qualified types] (default: empty list)
Lombok will copy any of these annotations from the field to the constructor parameter, the setter parameter, and the getter method. Note that lombok ships with a bunch of annotations 'out of the box' which are known to be copyable: All popular nullable/nonnull annotations. +
+ lombok.noArgsConstructor.extraPrivate = [true | false] (default: false) +
+ If true, lombok will generate a private no-args constructor for any @Value or @Data annotated class, which sets all fields to default values (null / 0 / false).
-- cgit