aboutsummaryrefslogtreecommitdiff
path: root/website/features/experimental/FieldDefaults.html
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2016-12-05 22:23:39 +0100
committerRoel Spilker <r.spilker@gmail.com>2016-12-05 22:23:39 +0100
commit0727c8bfd305408074d908dc4f8c31c0bff54789 (patch)
treeae7308e54bfb75eb22c1cc9c1d9beebea0005b29 /website/features/experimental/FieldDefaults.html
parent7969951125db42a84fbdd46d4a5fb804842e00f9 (diff)
downloadlombok-0727c8bfd305408074d908dc4f8c31c0bff54789.tar.gz
lombok-0727c8bfd305408074d908dc4f8c31c0bff54789.tar.bz2
lombok-0727c8bfd305408074d908dc4f8c31c0bff54789.zip
Fixes #1254: Value and FieldDefaults should skip static fields
Diffstat (limited to 'website/features/experimental/FieldDefaults.html')
-rw-r--r--website/features/experimental/FieldDefaults.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/website/features/experimental/FieldDefaults.html b/website/features/experimental/FieldDefaults.html
index 90d5ae6d..a253198b 100644
--- a/website/features/experimental/FieldDefaults.html
+++ b/website/features/experimental/FieldDefaults.html
@@ -36,10 +36,10 @@
to each field in the annotated class or enum. It can also add <code>final</code> to each field in the annotated class or enum.
</p>
</p><p>
- To add <code>final</code> to each field, use <code>@FieldDefaults(makeFinal=true)</code>. Any non-final field which must remain nonfinal
+ To add <code>final</code> to each (instance) field, use <code>@FieldDefaults(makeFinal=true)</code>. Any non-final field which must remain nonfinal
can be annotated with <code>@NonFinal</code> (also in the <code>lombok.experimental</code> package).
</p><p>
- To add an access modifier to each field, use <code>@FieldDefaults(level=AccessLevel.PRIVATE)</code>. Any field that does not already have an
+ To add an access modifier to each (instance) field, use <code>@FieldDefaults(level=AccessLevel.PRIVATE)</code>. Any field that does not already have an
access modifier (i.e. any field that looks like package private access) is changed to have the appropriate access modifier. Any package private
field which must remain package private can be annotated with <code>@PackagePrivate</code> (also in the <code>lombok.experimental</code> package).
</p>