diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-02-18 21:41:07 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-02-18 21:41:07 +0100 |
commit | ed61012f95cefae8d03260f506ffe34bc19bd90c (patch) | |
tree | 7f7478ed94a7eb423a2cd1379541c3716475efc4 /website/features/experimental/Wither.html | |
parent | 1488a262bd389d0fef444bb3fd80821a2d66e6c2 (diff) | |
download | lombok-ed61012f95cefae8d03260f506ffe34bc19bd90c.tar.gz lombok-ed61012f95cefae8d03260f506ffe34bc19bd90c.tar.bz2 lombok-ed61012f95cefae8d03260f506ffe34bc19bd90c.zip |
whoops, belated push and fixes to the documentation of onX
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 b0700aab..da2156cd 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 this method, you can use <code>onParam={@AnnotationsHere}</code>. 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> </div> <div class="snippets"> |