From 6daa9cdbe3fce1f293c8c8a52a96b19fb1c242b5 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Tue, 20 Jul 2010 11:54:21 +0200 Subject: Added references to other constructor annotations in the javadoc --- src/core/lombok/AllArgsConstructor.java | 3 +++ src/core/lombok/NoArgsConstructor.java | 3 +++ src/core/lombok/RequiredArgsConstructor.java | 3 +++ 3 files changed, 9 insertions(+) (limited to 'src') 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 NOT 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) -- cgit