diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-02-27 22:26:36 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-02-27 22:26:36 +0100 |
commit | fc04b74c67f05b1ba099275645b75e6373ac3b5a (patch) | |
tree | 839e6dae01ae9d893b8444e4f999301c67fafc70 /website/templates | |
parent | 75f522749bc31f61d136dadd92731fdfe1eb796d (diff) | |
download | lombok-fc04b74c67f05b1ba099275645b75e6373ac3b5a.tar.gz lombok-fc04b74c67f05b1ba099275645b75e6373ac3b5a.tar.bz2 lombok-fc04b74c67f05b1ba099275645b75e6373ac3b5a.zip |
[fixes #2377] documentation about configkey lombok.noArgsConstructor.extraPrivate was incorrect
Diffstat (limited to 'website/templates')
-rw-r--r-- | website/templates/features/Data.html | 4 | ||||
-rw-r--r-- | website/templates/features/Value.html | 4 | ||||
-rw-r--r-- | website/templates/features/constructor.html | 4 |
3 files changed, 10 insertions, 2 deletions
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 @@ <code>lombok.data.flagUsage</code> = [<code>warning</code> | <code>error</code>] (default: not set) </dt><dd> Lombok will flag any usage of <code>@Data</code> as a warning or error if configured. + </dd><dt> + <code>lombok.noArgsConstructor.extraPrivate</code> = [<code>true</code> | <code>false</code>] (default: false) + </dt><dd> + If <code>true</code>, lombok will generate a private no-args constructor for any <code>@Data</code> annotated class, which sets all fields to default values (null / 0 / false). </dd> </@f.confKeys> 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 @@ </dt><dd> Lombok will flag any usage of <code>@Value</code> as a warning or error if configured. </dd><dt> - <code>lombok.val.flagUsage</code> = [<code>warning</code> | <code>error</code>] (default: not set) + <code>lombok.noArgsConstructor.extraPrivate</code> = [<code>true</code> | <code>false</code>] (default: false) </dt><dd> - Lombok will flag any usage of <code>val</code> as a warning or error if configured. + If <code>true</code>, lombok will generate a private no-args constructor for any <code>@Value</code> annotated class, which sets all fields to default values (null / 0 / false). </dd> </@f.confKeys> 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 @@ <code>lombok.copyableAnnotations</code> = [<em>A list of fully qualified types</em>] (default: empty list) </dt><dd> 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. + </dd><dt> + <code>lombok.noArgsConstructor.extraPrivate</code> = [<code>true</code> | <code>false</code>] (default: false) + </dt><dd> + If <code>true</code>, lombok will generate a private no-args constructor for any <code>@Value</code> or <code>@Data</code> annotated class, which sets all fields to default values (null / 0 / false). </dd> </@f.confKeys> |