aboutsummaryrefslogtreecommitdiff
path: root/website/features/index.html
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-07-20 07:43:02 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-07-20 07:43:02 +0200
commitaaf8547d91a540334419f2faebb897b327d535d8 (patch)
tree77f31019f0c87e823c5ed6a2569170b8bce7c7f6 /website/features/index.html
parentf17ba28daa683a4ef9f7743a1ccdde8f8632cb94 (diff)
downloadlombok-aaf8547d91a540334419f2faebb897b327d535d8.tar.gz
lombok-aaf8547d91a540334419f2faebb897b327d535d8.tar.bz2
lombok-aaf8547d91a540334419f2faebb897b327d535d8.zip
Added documentation for @RequiredArgsConstructor, @NoArgsConstructor, @AllArgsConstructor, and also how these generate @ConstructorProperties annotations.
Also updated @Getter and @Setter's documentation to explain their new class-level feature, and updated @Data's description to highlight how @Data is now truly nothing more than the combination of @RequiredArgsConstructor, @EqualsAndHashCode, @ToString, @Getter, and @Setter.
Diffstat (limited to 'website/features/index.html')
-rw-r--r--website/features/index.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/website/features/index.html b/website/features/index.html
index 9157f503..869bbe89 100644
--- a/website/features/index.html
+++ b/website/features/index.html
@@ -19,10 +19,11 @@
<dd>No need to start a debugger to see your fields: Just let lombok generate a <code>toString</code> for you!</dd>
<dt><a href="EqualsAndHashCode.html"><code>@EqualsAndHashCode</code></a></dt>
<dd>Equality made easy: Generates <code>hashCode</code> and <code>equals</code> implementations from the fields of your object.</dd>
+ <dt><a href="Constructor.html"><code>@NoArgsConstructor</code>, <code>@RequiredArgsConstructor</code> and <code>@AllArgsConstructor</code></a></dt>
+ <dd>Constructors made to order: Generates constructors that take no arguments, one argument per final / non-null field, or one argument for every field.</dd>
<dt><a href="Data.html"><code>@Data</code></a></dt>
<dd>All together now: A shortcut for <code>@ToString</code>, <code>@EqualsAndHashCode</code>,
- <code>@Getter</code> on all fields, and <code>@Setter</code> on all non-final fields. You even
- get a free constructor to initialize your final fields!</dd>
+ <code>@Getter</code> on all fields, and <code>@Setter</code> on all non-final fields, and <code>@RequiredArgsConstructor</code>!</dd>
<dt><a href="Cleanup.html"><code>@Cleanup</code></a></dt>
<dd>Automatic resource management: Call your <code>close()</code> methods safely with no hassle.</dd>
<dt><a href="Synchronized.html"><code>@Synchronized</code></a></dt>
@@ -50,7 +51,7 @@
your source files for source-level tools such as javadoc and GWT. More information about how to run delombok, including instructions for build tools
can be found at the <a href="delombok.html">delombok page</a>.</div>
<div class="footer">
- <a href="../credits.html" class="creditsLink">credits</a> | <span class="copyright">Copyright &copy; 2009 Reinier Zwitserloot and Roel Spilker, licensed under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT license</a>.</span>
+ <a href="../credits.html" class="creditsLink">credits</a> | <span class="copyright">Copyright &copy; 2009-2010 Reinier Zwitserloot and Roel Spilker, licensed under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT license</a>.</span>
</div>
<div style="clear: both;"></div>
</div>