diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2021-12-21 01:53:10 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2021-12-21 01:53:30 +0100 |
commit | 6d2a474e55db3937eafa5a6d089efd5ba75a62bf (patch) | |
tree | 0336d1388090961f8c52ff4999493f7ecb5a5820 /website/templates/features/ToString.html | |
parent | d71a880d7f9a207e4a121d0b98b54018e9403197 (diff) | |
download | lombok-6d2a474e55db3937eafa5a6d089efd5ba75a62bf.tar.gz lombok-6d2a474e55db3937eafa5a6d089efd5ba75a62bf.tar.bz2 lombok-6d2a474e55db3937eafa5a6d089efd5ba75a62bf.zip |
[fixes #2849] Make ToString's onlyExplicitlyIncluded a config key.
Diffstat (limited to 'website/templates/features/ToString.html')
-rw-r--r-- | website/templates/features/ToString.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/website/templates/features/ToString.html b/website/templates/features/ToString.html index 456092d5..87e06649 100644 --- a/website/templates/features/ToString.html +++ b/website/templates/features/ToString.html @@ -33,6 +33,11 @@ </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> Lombok will flag any usage of <code>@ToString</code> as a warning or error if configured. |