mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-16 10:15:22 +00:00
[fixes #2377] documentation about configkey lombok.noArgsConstructor.extraPrivate was incorrect
This commit is contained in:
4 files changed
+12
-4
No files matched your search
@@ -166,9 +166,9 @@ public class ConfigurationKeys {
|
||||
/**
|
||||
* lombok configuration: {@code lombok.noArgsConstructor.extraPrivate} = {@code true} | {@code false}.
|
||||
*
|
||||
* If {@code true} (default), @Data and @Value will also generate a private no-args constructor, if there isn't already one, setting all fields to their default values.
|
||||
* If {@code true}, @Data and @Value will also generate a private no-args constructor, if there isn't already one, setting all fields to their default values.
|
||||
*/
|
||||
public static final ConfigurationKey<Boolean> NO_ARGS_CONSTRUCTOR_EXTRA_PRIVATE = new ConfigurationKey<Boolean>("lombok.noArgsConstructor.extraPrivate", "Generate a private no-args constructor for @Data and @Value (default: true).") {};
|
||||
public static final ConfigurationKey<Boolean> NO_ARGS_CONSTRUCTOR_EXTRA_PRIVATE = new ConfigurationKey<Boolean>("lombok.noArgsConstructor.extraPrivate", "Generate a private no-args constructor for @Data and @Value (default: false).") {};
|
||||
|
||||
/**
|
||||
* lombok configuration: {@code lombok.requiredArgsConstructor.flagUsage} = {@code WARNING} | {@code ERROR}.
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in new issue
Block a user