mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 06:16:14 +00:00
Generate default no-args constructor
This commit is contained in:
1 parent
4fb9c6f7f8
commit
6045c1b8f5
31 files changed
+383
-18
No files matched your search
@@ -67,6 +67,12 @@ public final class BuilderDefaults {
|
||||
return new BuilderDefaultsBuilder();
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
private BuilderDefaults() {
|
||||
this.x = 0;
|
||||
this.name = null;
|
||||
this.z = 0L;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public int getX() {
|
||||
return this.x;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user