aboutsummaryrefslogtreecommitdiff
path: root/website2/templates/features/value.html
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-01-06 01:21:28 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-05-29 21:01:53 +0200
commita24bf3194477a841c905827ef625e19b0fd53b2a (patch)
treee0cf9ef16bd9f8cac8b7953e193980beff9d733e /website2/templates/features/value.html
parentbb85d799b3ba549c8a29afab0b246cb13b10507a (diff)
downloadlombok-a24bf3194477a841c905827ef625e19b0fd53b2a.tar.gz
lombok-a24bf3194477a841c905827ef625e19b0fd53b2a.tar.bz2
lombok-a24bf3194477a841c905827ef625e19b0fd53b2a.zip
feature pages updated and made more consistent.
Diffstat (limited to 'website2/templates/features/value.html')
-rw-r--r--website2/templates/features/value.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/website2/templates/features/value.html b/website2/templates/features/value.html
index d9ea1ca7..fdad0e12 100644
--- a/website2/templates/features/value.html
+++ b/website2/templates/features/value.html
@@ -17,8 +17,8 @@
</p><p>
In practice, <code>@Value</code> is shorthand for: <code>final @ToString @EqualsAndHashCode @AllArgsConstructor @FieldDefaults(makeFinal = true, level = AccessLevel.PRIVATE) @Getter</code>, except that explicitly including an implementation of any of the relevant methods simply means that part won't be generated and no warning will be emitted. For example, if you write your own <code>toString</code>, no error occurs, and lombok will not generate a <code>toString</code>. Also, <em>any</em> explicit constructor, no matter the arguments list, implies lombok will not generate a constructor. If you do want lombok to generate the all-args constructor, add <code>@AllArgsConstructor</code> to the class. You can mark any constructor or method with <code>@lombok.experimental.Tolerate</code> to hide them from lombok.
</p><p>
- It is possible to override the final-by-default and private-by-default behaviour using either an explicit access level on a field, or by using the <code>@NonFinal</code> or <code>@PackagePrivate</code> annotations.<br />
- It is possible to override any default behaviour for any of the 'parts' that make up <code>@Value</code> by explicitly using that annotation.
+ It is possible to override the final-by-default and private-by-default behavior using either an explicit access level on a field, or by using the <code>@NonFinal</code> or <code>@PackagePrivate</code> annotations.<br />
+ It is possible to override any default behavior for any of the 'parts' that make up <code>@Value</code> by explicitly using that annotation.
</p>
</@f.overview>