diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-07-08 21:17:01 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-07-08 21:21:33 +0200 |
commit | e7ff097fec867714b8a064b559dfc9e5162a489c (patch) | |
tree | f0856faea39984215db942113753fd5b8ac15766 /website/features/experimental/Wither.html | |
parent | bf8e2afed07b4062ac3d3fee8b2f8981d1213f7e (diff) | |
download | lombok-e7ff097fec867714b8a064b559dfc9e5162a489c.tar.gz lombok-e7ff097fec867714b8a064b559dfc9e5162a489c.tar.bz2 lombok-e7ff097fec867714b8a064b559dfc9e5162a489c.zip |
Fixed value's snippet integration (it hadn't been updated yet now that Value has moved from experimental into core).
Diffstat (limited to 'website/features/experimental/Wither.html')
-rw-r--r-- | website/features/experimental/Wither.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/website/features/experimental/Wither.html b/website/features/experimental/Wither.html index 9cbcd5ed..b334cd7c 100644 --- a/website/features/experimental/Wither.html +++ b/website/features/experimental/Wither.html @@ -46,6 +46,8 @@ a 'wither' is generated for each field (even non-final fields). </p><p> To put annotations on the generated method, you can use <code>onMethod=@_({@AnnotationsHere})</code>; to put annotations on the only parameter of a generated wither method, you can use <code>onParam=@_({@AnnotationsHere})</code>. Be careful though! This is an experimental feature. For more details see the documentation on the <a href="onX.html">onX</a> feature. + </p><p> + <em>NEW in lombok v1.12.0:</em> javadoc on the field will now be copied to generated withers. Normally, all text is copied, and <code>@param</code> is <em>moved</em> to the wither, whilst <code>@return</code> lines are stripped from the wither's javadoc. Moved means: Deleted from the field's javadoc. It is also possible to define unique text for the wither's javadoc. To do that, you create a 'section' named <code>WITHER</code>. A section is a line in your javadoc containing 2 or more dashes, then the text 'WITHER', followed by 2 or more dashes, and nothing else on the line. If you use sections, <code>@return</code> and <code>@param</code> stripping / copying for that section is no longer done (move the <code>@param</code> line into the section). </p> </div> <div class="snippets"> |