From b6ce9410b15bc645fc191c147cfd14359da67b72 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Thu, 22 May 2014 03:30:11 +0200 Subject: added documentation for the configuration feature. --- website/features/ToString.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'website/features/ToString.html') diff --git a/website/features/ToString.html b/website/features/ToString.html index ffda89d1..6cdd8453 100644 --- a/website/features/ToString.html +++ b/website/features/ToString.html @@ -41,6 +41,17 @@
+
+

Supported configuration keys:

+
+
lombok.toString.includeFieldNames = [true | false] (default: true)
+
Normally lombok generates a fragment of the toString response for each field in the form of fieldName = fieldValue. If this setting is set to false, lombok will omit the name of the field and simply deploy a comma-separated list of all the field values. The annotation parameter 'includeFieldNames', if explicitly specified, takes precedence over this setting.
+
lombok.toString.doNotUseGetters = [true | false] (default: false)
+
If set to true, lombok will access fields directly instead of using getters (if available) when generating toString methods. The annotation parameter 'doNotUseGetters', if explicitly specified, takes precedence over this setting.
+
lombok.toString.flagUsage = [warning | error] (default: not set)
+
Lombok will flag any usage of @ToString as a warning or error if configured.
+
+

Small print

-- cgit