aboutsummaryrefslogtreecommitdiff
path: root/website/features/Constructor.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/Constructor.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/Constructor.html')
-rw-r--r--website/features/Constructor.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/website/features/Constructor.html b/website/features/Constructor.html
index 272df06e..c7e40dfb 100644
--- a/website/features/Constructor.html
+++ b/website/features/Constructor.html
@@ -35,7 +35,7 @@
Such a static factory method will infer generics, unlike a normal constructor. This means your API users get write <code>MapEntry.of("foo", 5)</code> instead of the much longer
<code>new MapEntry&lt;String, Integer&gt;("foo", 5)</code>.
</p><p>
- To put annotations on the generated constructor, you can use <code>onConstructor=@_({@AnnotationsHere})</code>, but be careful; 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 constructor, you can use <code>onConstructor=@__({@AnnotationsHere})</code>, but be careful; this is an experimental feature. For more details see the documentation on the <a href="experimental/onX.html">onX</a> feature.
</p><p>
Static fields are skipped by these annotations. Also, a <code>@java.beans.ConstructorProperties</code> annotation is added for all constructors with at least 1 argument,
which allows bean editor tools to call the generated constructors. <code>@ConstructorProperties</code> is now in Java 1.6, which means that if your code is intended for