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

@@ -38,6 +38,11 @@ final @lombok.Value class Value1 {
this.x = x;
this.name = name;
}
private @java.lang.SuppressWarnings("all") Value1() {
super();
this.x = 0;
this.name = null;
}
}
@Value @lombok.experimental.NonFinal class Value2 {
public final int x;
@@ -83,6 +88,11 @@ final @lombok.Value class Value1 {
this.x = x;
this.name = name;
}
private @java.lang.SuppressWarnings("all") Value2() {
super();
this.x = 0;
this.name = null;
}
}
final @Value class Value3 {
private @lombok.experimental.NonFinal int x;
@@ -120,4 +130,8 @@ final @Value class Value3 {
this.x = x;
this.y = y;
}
private @java.lang.SuppressWarnings("all") Value3() {
super();
this.y = 0;
}
}