diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-28 17:38:26 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-28 17:41:56 +0200 |
commit | fb6be45d2bcb97e0e0288ba81a602679c7bedc46 (patch) | |
tree | a5495fdf2769d06714b5eb96e203b33430513450 /website/features/index.html | |
parent | e744f1829adf95f3b54fa54d813eb26c4c8e8c76 (diff) | |
download | lombok-fb6be45d2bcb97e0e0288ba81a602679c7bedc46.tar.gz lombok-fb6be45d2bcb97e0e0288ba81a602679c7bedc46.tar.bz2 lombok-fb6be45d2bcb97e0e0288ba81a602679c7bedc46.zip |
Added website feature documentation for @ToString and @EqualsAndHashCode, and modified the docs for @Data to refer to the docs of these new annotations.
The build script for the website has been updated to clean out the website build dir first, so files that used to exist but have now been tossed are no longer there.
There's also a special website-no-videos target which builds a website deployable without the videos. This makes the upload a lot faster if the videos haven't changed.
Diffstat (limited to 'website/features/index.html')
-rw-r--r-- | website/features/index.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/website/features/index.html b/website/features/index.html index 921e1d94..5a5387b9 100644 --- a/website/features/index.html +++ b/website/features/index.html @@ -15,9 +15,14 @@ <dl> <dt><a href="GetterSetter.html"><code>@Getter</code> / <code>@Setter</code></a></dt> <dd>Never write <code>public int getFoo() {return foo;}</code> again.</dd> + <dt><a href="ToString.html"><code>@ToString</code></a></dt> + <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="Data.html"><code>@Data</code></a></dt> - <dd>'struct' for java: Automatically generate <code>toString</code>, <code>hashCode</code>, <code>equals</code>, a constructor, and getters and setters - from just the fields in your class.</dd> + <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> <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> |