mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 12:16:49 +00:00
[fixes #933] Add javadoc for generated constructors
This commit is contained in:
1 parent
30e19e4cdc
commit
eabcc3fb4a
11 files changed
+175
-5
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import lombok.AllArgsConstructor;
|
||||
public @AllArgsConstructor class ConstructorJavadoc {
|
||||
private int fieldName;
|
||||
private int fieldName2;
|
||||
/**
|
||||
* Creates a new {@code ConstructorJavadoc} instance.
|
||||
*
|
||||
* @param fieldName Some text
|
||||
* @param fieldName2 Sky is blue
|
||||
*/
|
||||
public @java.lang.SuppressWarnings("all") @lombok.Generated ConstructorJavadoc(final int fieldName, final int fieldName2) {
|
||||
super();
|
||||
this.fieldName = fieldName;
|
||||
this.fieldName2 = fieldName2;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user