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/GetterSetter.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'website/features/GetterSetter.html') diff --git a/website/features/GetterSetter.html b/website/features/GetterSetter.html index 76b61d80..a0da405d 100644 --- a/website/features/GetterSetter.html +++ b/website/features/GetterSetter.html @@ -46,6 +46,21 @@
+
+

Supported configuration keys:

+
+
lombok.accessors.chain = [true | false] (default: false)
+
If set to true, generated setters will return this (instead of void). An explicitly configured chain parameter of an @Accessors annotation takes precedence over this setting.
+
lombok.accessors.fluent = [true | false] (default: false)
+
If set to true, generated getters and setters will not be prefixed with the bean-standard 'get, is or set; instead, the methods will use the same name as the field (minus prefixes). An explicitly configured chain parameter of an @Accessors annotation takes precedence over this setting.
+
lombok.accessors.prefix += a field prefix (default: empty list)
+
This is a list property; entries can be added with the += operator. Inherited prefixes from parent config files can be removed with the -= operator. Lombok will strip any matching field prefix from the name of a field in order to determine the name of the getter/setter to generate. For example, if m is one of the prefixes listed in this setting, then a field named mFoobar will result in a getter named getFoobar(), not getMFoobar(). An explicitly configured prefix parameter of an @Accessors annotation takes precedence over this setting.
+
lombok.setter.flagUsage = [warning | error] (default: not set)
+
Lombok will flag any usage of @Setter as a warning or error if configured.
+
lombok.getter.flagUsage = [warning | error] (default: not set)
+
Lombok will flag any usage of @Getter as a warning or error if configured.
+
+

Small print

-- cgit