aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-07-20 12:00:10 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-07-20 12:00:10 +0200
commitdb6a4565576b0beec5373e3927b0bff86d5ae6f7 (patch)
tree982a59a15010d1fcc07abf3708146a5ce819f62d
parentd7ee0bc8a5a36e5968741e0e0a445a165b32f1e5 (diff)
parent6daa9cdbe3fce1f293c8c8a52a96b19fb1c242b5 (diff)
downloadlombok-db6a4565576b0beec5373e3927b0bff86d5ae6f7.tar.gz
lombok-db6a4565576b0beec5373e3927b0bff86d5ae6f7.tar.bz2
lombok-db6a4565576b0beec5373e3927b0bff86d5ae6f7.zip
Merge branch 'master' of github.com:rzwitserloot/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)