From 6d2a474e55db3937eafa5a6d089efd5ba75a62bf Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 21 Dec 2021 01:53:10 +0100 Subject: [fixes #2849] Make ToString's onlyExplicitlyIncluded a config key. --- website/templates/features/ToString.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'website/templates/features') 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 @@ -32,6 +32,11 @@ lombok.toString.callSuper = [call | skip | warn] (default: skip)
If set to call, lombok will generate calls to the superclass implementation of toString if your class extends something. If set to skip no such call is generated. If set to warn no such call is generated either, but lombok does generate a warning to tell you about it. +
+ lombok.toString.onlyExplicitlyIncluded = [true | false] (default: false) +
+ If set to false (default), all fields (unless static, 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 @ToString.Exclude and @ToString.Include options. + If set to true, nothing is included unless explicitly marked with @ToString.Include.
lombok.toString.flagUsage = [warning | error] (default: not set)
-- cgit