aboutsummaryrefslogtreecommitdiff
path: root/website/templates/features/With.html
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-10-18 16:01:01 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-10-18 20:24:38 +0200
commit13d84b129e562fdc71b049778c3b3bd2376e29a4 (patch)
tree3fac6ce541f79a11437c8d89274d47f9a9e509c4 /website/templates/features/With.html
parentdbc67c5c2d0388692f9c9dec02b294da14fd5b56 (diff)
downloadlombok-13d84b129e562fdc71b049778c3b3bd2376e29a4.tar.gz
lombok-13d84b129e562fdc71b049778c3b3bd2376e29a4.tar.bz2
lombok-13d84b129e562fdc71b049778c3b3bd2376e29a4.zip
[#2693] Docs and changelog for the ‘accessors.capitalization = beanspec’ feature.
Diffstat (limited to 'website/templates/features/With.html')
-rw-r--r--website/templates/features/With.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/website/templates/features/With.html b/website/templates/features/With.html
index 8b34f038..867c17eb 100644
--- a/website/templates/features/With.html
+++ b/website/templates/features/With.html
@@ -27,6 +27,15 @@
<@f.snippets name="With" />
<@f.confKeys>
+ <><dt>
+ <code>lombok.accessors.prefix</code> += <em>a field prefix</em> (default: empty list)
+ </dt><dd>
+ This is a list property; entries can be added with the <code>+=</code> operator. Inherited prefixes from parent config files can be removed with the <code>-=</code> 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 <code>m</code> is one of the prefixes listed in this setting, then a field named <code>mFoobar</code> will result in a getter named <code>getFoobar()</code>, not <code>getMFoobar()</code>. An explicitly configured <code>prefix</code> parameter of an <a href="/features/experimental/Accessors"><code>@Accessors</code></a> annotation takes precedence over this setting.
+ </dd><dt>
+ <code>lombok.accessors.capitalization</code> = [<code>basic</code> | <code>beanspec</code>] (default: basic)
+ </dt><dd>
+ Controls how tricky cases like <code>uShaped</code> (one lowercase letter followed by an upper/titlecase letter) are capitalized. <code>basic</code> capitalizes that to <code>withUShaped</code>, and <code>beanspec</code> capitalizes that to <code>withuShaped</code> instead.<br />
+ Both strategies are commonly used in the java ecosystem, though <code>beanspec</code> is more common.
<dt>
<code>lombok.with.flagUsage</code> = [<code>warning</code> | <code>error</code>] (default: not set)
</dt><dd>