Generate default no-args constructor

This commit is contained in:
Roel Spilker committed 2018-05-28 21:54:12 +02:00
1 parent 4fb9c6f7f8
commit 6045c1b8f5
31 files changed
+383 -18

No files matched your search

@@ -7,6 +7,11 @@ final class Value1 {
this.name = name;
}
@java.lang.SuppressWarnings("all")
private Value1() {
this.x = 0;
this.name = null;
}
@java.lang.SuppressWarnings("all")
public int getX() {
return this.x;
}
@@ -51,6 +56,11 @@ class Value2 {
this.name = name;
}
@java.lang.SuppressWarnings("all")
private Value2() {
this.x = 0;
this.name = null;
}
@java.lang.SuppressWarnings("all")
public int getX() {
return this.x;
}
@@ -100,6 +110,10 @@ final class Value3 {
this.y = y;
}
@java.lang.SuppressWarnings("all")
private Value3() {
this.y = 0;
}
@java.lang.SuppressWarnings("all")
public int getX() {
return this.x;
}