aboutsummaryrefslogtreecommitdiff
path: root/website/features/GetterSetter.html
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2014-03-26 22:33:00 +0100
committerRoel Spilker <r.spilker@gmail.com>2014-03-26 22:33:00 +0100
commitd41ef4bf8370a16121d00146f905e866ac7e5a0b (patch)
tree614ca16c4187d7ed7adb50625230a80bdef4b68b /website/features/GetterSetter.html
parent4d24542dac058fcd7c341f9d17c4e8170a8d83a2 (diff)
downloadlombok-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/GetterSetter.html')
-rw-r--r--website/features/GetterSetter.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/website/features/GetterSetter.html b/website/features/GetterSetter.html
index 7e2ff226..2e39e1ad 100644
--- a/website/features/GetterSetter.html
+++ b/website/features/GetterSetter.html
@@ -29,7 +29,7 @@
You can always manually disable getter/setter generation for any field by using the special <code>AccessLevel.NONE</code> access level. This lets you override the
behaviour of a <code>@Getter</code>, <code>@Setter</code> or <code>@Data</code> annotation on a class.
</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 setter 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="experimental/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 setter 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="experimental/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 getters and setters. Normally, all text is copied, and <code>@return</code> is <em>moved</em> to the getter, whilst <code>@param</code> lines are <em>moved</em> to the setter. Moved means: Deleted from the field's javadoc. It is also possible to define unique text for each getter/setter. To do that, you create a 'section' named <code>GETTER</code> and/or <code>SETTER</code>. A section is a line in your javadoc containing 2 or more dashes, then the text 'GETTER' or 'SETTER', followed by 2 or more dashes, and nothing else on the line. If you use sections, <code>@return</code> and <code>@param</code> stripping for that section is no longer done (move the <code>@return</code> or <code>@param</code> line into the section).
</p>