Added references to other constructor annotations in the javadoc

This commit is contained in:
Roel Spilker committed 2010-07-20 11:54:21 +02:00
1 parent 178f628565
commit 6daa9cdbe3
3 files changed
+9

No files matched your search

+3
View File
@@ -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)
+3
View File
@@ -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)
@@ -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)