aboutsummaryrefslogtreecommitdiff
path: root/website/features/experimental/Wither.html
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2012-11-17 20:26:58 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2012-11-17 20:26:58 +0100
commitef8769d3180b2c6de91a64f69dfa23a2e6e449b9 (patch)
treedff0f1f3dd0221041afb45e7f1f50d7bddec3a23 /website/features/experimental/Wither.html
parent58851b4c6e96a51d1ac298c7ed85efac6ffe8335 (diff)
downloadlombok-ef8769d3180b2c6de91a64f69dfa23a2e6e449b9.tar.gz
lombok-ef8769d3180b2c6de91a64f69dfa23a2e6e449b9.tar.bz2
lombok-ef8769d3180b2c6de91a64f69dfa23a2e6e449b9.zip
Added all documentation for the onX feature and updated changelog.
Now to actually write the feature (Well, rescue it from the onX-removal tag).
Diffstat (limited to 'website/features/experimental/Wither.html')
-rw-r--r--website/features/experimental/Wither.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/website/features/experimental/Wither.html b/website/features/experimental/Wither.html
index 34d6d0d9..a7b77dab 100644
--- a/website/features/experimental/Wither.html
+++ b/website/features/experimental/Wither.html
@@ -44,6 +44,8 @@
Like <a href="../GetterSetter.html"><code>@Setter</code></a>, you can specify an access level in case you want the generated wither to be something other than <code>public</code>:<br />
<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 this method, you can use <code>onParam={@AnnotationsHere}</code>. For more details see the documentation on the <a href="onX.html">onX</a> feature.
</p>
</div>
<div class="snippets">