[fixes #2849] Make ToString's onlyExplicitlyIncluded a config key.

This commit is contained in:
Reinier Zwitserloot committed 2021-12-21 01:53:30 +01:00
1 parent d71a880d7f
commit 6d2a474e55
9 files changed
+71 -27

No files matched your search

+5
View File
@@ -32,6 +32,11 @@
<code>lombok.toString.callSuper</code> = [<code>call</code> | <code>skip</code> | <code>warn</code>] (default: skip)
</dt><dd>
If set to <code>call</code>, lombok will generate calls to the superclass implementation of <code>toString</code> if your class extends something. If set to <code>skip</code> no such call is generated. If set to <code>warn</code> no such call is generated either, but lombok does generate a warning to tell you about it.
</dd><dt>
<code>lombok.toString.onlyExplicitlyIncluded</code> = [<code>true</code> | <code>false</code>] (default: false)
</dt><dd>
If set to <code>false</code> (default), all fields (unless <code>static</code>, name starts with a dollar, or otherwise excluded for obvious reasons) serve as the default set of things to include in the toString, modifiable by using the <code>@ToString.Exclude</code> and <code>@ToString.Include</code> options.
If set to <code>true</code>, nothing is included unless explicitly marked with <code>@ToString.Include</code>.
</dd><dt>
<code>lombok.toString.flagUsage</code> = [<code>warning</code> | <code>error</code>] (default: not set)
</dt><dd>