diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-11-05 23:26:59 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-11-05 23:30:09 +0100 |
commit | a73965b2b7b4fe2e163cdb7d104fc5dff1aa7476 (patch) | |
tree | daf21a21c677408ced8c72618ea99beb72efb1f6 /website | |
parent | 2c0ec9315577cbc8d406aca2b3f3b6ad233f4f35 (diff) | |
download | lombok-a73965b2b7b4fe2e163cdb7d104fc5dff1aa7476.tar.gz lombok-a73965b2b7b4fe2e163cdb7d104fc5dff1aa7476.tar.bz2 lombok-a73965b2b7b4fe2e163cdb7d104fc5dff1aa7476.zip |
[fixes #1918] toString now supports a configkey to tell it how to deal with super.
Diffstat (limited to 'website')
-rw-r--r-- | website/templates/features/ToString.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/website/templates/features/ToString.html b/website/templates/features/ToString.html index d31cf35d..d2644629 100644 --- a/website/templates/features/ToString.html +++ b/website/templates/features/ToString.html @@ -29,6 +29,10 @@ </dt><dd> If set to <code>true</code>, lombok will access fields directly instead of using getters (if available) when generating <code>toString</code> methods. The annotation parameter '<code>doNotUseGetters</code>', if explicitly specified, takes precedence over this setting. </dd><dt> + <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.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. |