diff options
Diffstat (limited to 'website/templates/features')
-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> |