aboutsummaryrefslogtreecommitdiff
path: root/website/features/configuration.html
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-10-06 00:25:32 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-10-06 00:25:32 +0200
commit9d8c4e4099bef9b7854cc5d77bc996c3b3bf0e41 (patch)
tree6ca48925c989d3f314fbeef08931a1940b5c03cf /website/features/configuration.html
parentb4d69f5cb8b093718bb7ffb539e5875df52ca48e (diff)
downloadlombok-9d8c4e4099bef9b7854cc5d77bc996c3b3bf0e41.tar.gz
lombok-9d8c4e4099bef9b7854cc5d77bc996c3b3bf0e41.tar.bz2
lombok-9d8c4e4099bef9b7854cc5d77bc996c3b3bf0e41.zip
New feature: FieldDefaults can now be configured to apply to _every_ file, regardless of annotations.
Diffstat (limited to 'website/features/configuration.html')
-rw-r--r--website/features/configuration.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/website/features/configuration.html b/website/features/configuration.html
index 7e79a9c0..21864409 100644
--- a/website/features/configuration.html
+++ b/website/features/configuration.html
@@ -85,6 +85,15 @@
<code>lombok.extern.findbugs.addSuppressFBWarnings = true</code>
</div>
</div>
+ <div class="overview" style="clear: left;">
+ <h3>Config keys that can even affect source files with 0 lombok annotations</h3>
+ <p>
+ <div class="snippet example">
+ <code>lombok.fieldDefaults.defaultPrivate = true</code><br />
+ <code>lombok.fieldDefaults.defaultFinal = true</code>
+ </div>
+ Turning either of these options on means lombok will make <em>every</em> field in <em>every</em> source file final and/or private unless it has an explicit access modifier or annotation to suppress this. <a href="experimental/FieldDefaults.html">See the <code>@FieldDefaults</code> documentation for more</a>.
+ </div>
<div style="clear: left;"></div>
<div class="footer">
<a href="index.html">Back to features</a> | <a href="Log.html">Previous feature (@Log)</a> | <span class="disabled">Next feature</span><br />