mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 16:15:16 +00:00
Added references to other constructor annotations in the javadoc
This commit is contained in:
1 parent
178f628565
commit
6daa9cdbe3
3 files changed
+9
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user