diff options
| author | Roel Spilker <r.spilker@gmail.com> | 2014-03-26 22:33:00 +0100 |
|---|---|---|
| committer | Roel Spilker <r.spilker@gmail.com> | 2014-03-26 22:33:00 +0100 |
| commit | d41ef4bf8370a16121d00146f905e866ac7e5a0b (patch) | |
| tree | 614ca16c4187d7ed7adb50625230a80bdef4b68b /website/features/experimental/Wither.html | |
| parent | 4d24542dac058fcd7c341f9d17c4e8170a8d83a2 (diff) | |
| download | lombok-d41ef4bf8370a16121d00146f905e866ac7e5a0b.tar.gz lombok-d41ef4bf8370a16121d00146f905e866ac7e5a0b.tar.bz2 lombok-d41ef4bf8370a16121d00146f905e866ac7e5a0b.zip | |
[i659] suppression of @ConstructorProperties should use config instead. Also modified all onX examples to use two underscores.
Diffstat (limited to 'website/features/experimental/Wither.html')
| -rw-r--r-- | website/features/experimental/Wither.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/website/features/experimental/Wither.html b/website/features/experimental/Wither.html index b334cd7c..46d3b08b 100644 --- a/website/features/experimental/Wither.html +++ b/website/features/experimental/Wither.html @@ -45,7 +45,7 @@ <code>@Wither(level = AccessLevel.PROTECTED)</code>. Also like <a href="../GetterSetter.html"><code>@Setter</code></a>, you can also put a <code>@Wither</code> annotation on a type, which means 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. + 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> |
