aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2010-07-20 11:54:21 +0200
committerRoel Spilker <r.spilker@gmail.com>2010-07-20 11:54:21 +0200
commit6daa9cdbe3fce1f293c8c8a52a96b19fb1c242b5 (patch)
treec4c47f0980182bba57488d61feb3d313323d0a10 /src/core/lombok
parent178f6285659fa56e48063b049ae4c5e0237e2aea (diff)
downloadlombok-6daa9cdbe3fce1f293c8c8a52a96b19fb1c242b5.tar.gz
lombok-6daa9cdbe3fce1f293c8c8a52a96b19fb1c242b5.tar.bz2
lombok-6daa9cdbe3fce1f293c8c8a52a96b19fb1c242b5.zip
Added references to other constructor annotations in the javadoc
Diffstat (limited to 'src/core/lombok')
-rw-r--r--src/core/lombok/AllArgsConstructor.java3
-rw-r--r--src/core/lombok/NoArgsConstructor.java3
-rw-r--r--src/core/lombok/RequiredArgsConstructor.java3
3 files changed, 9 insertions, 0 deletions
diff --git a/src/core/lombok/AllArgsConstructor.java b/src/core/lombok/AllArgsConstructor.java
index 8b3c57bc..c1795802 100644
--- a/src/core/lombok/AllArgsConstructor.java
+++ b/src/core/lombok/AllArgsConstructor.java
@@ -29,6 +29,9 @@ import java.lang.annotation.Target;
/**
* Generates an all-args constructor. An all-args constructor requires one argument
* for every field in the class.
+ *
+ * @see NoArgsConstructor
+ * @see RequiredArgsConstructor
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.SOURCE)
diff --git a/src/core/lombok/NoArgsConstructor.java b/src/core/lombok/NoArgsConstructor.java
index 4662cb5f..2270631f 100644
--- a/src/core/lombok/NoArgsConstructor.java
+++ b/src/core/lombok/NoArgsConstructor.java
@@ -32,6 +32,9 @@ import java.lang.annotation.Target;
*
* NB: Fields with constraints such as {@code @NonNull} will <em>NOT</em> be checked
* in such a constructor, of course!
+ *
+ * @see RequiredArgsConstructor
+ * @see AllArgsConstructor
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.SOURCE)
diff --git a/src/core/lombok/RequiredArgsConstructor.java b/src/core/lombok/RequiredArgsConstructor.java
index de45cd37..76d222c9 100644
--- a/src/core/lombok/RequiredArgsConstructor.java
+++ b/src/core/lombok/RequiredArgsConstructor.java
@@ -29,6 +29,9 @@ import java.lang.annotation.Target;
/**
* Generates a constructor with required arguments.
* Required arguments are final fields and fields with constraints such as {@code @NonNull}.
+ *
+ * @see NoArgsConstructor
+ * @see AllArgsConstructor
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.SOURCE)