diff options
author | Jan Rieke <rieke@subshell.com> | 2018-05-31 18:01:43 +0200 |
---|---|---|
committer | Jan Rieke <rieke@subshell.com> | 2018-05-31 18:01:43 +0200 |
commit | 32bed51fede1eebef2006d54b3e364de22ae9ac0 (patch) | |
tree | 14f7807814e0ebbf41332caf88af8b8f7e2518b7 /test/transform/resource/after-ecj/SuperBuilderWithGenerics2.java | |
parent | 795e3c84875de0a01f4d5e1321312f592139c7aa (diff) | |
download | lombok-32bed51fede1eebef2006d54b3e364de22ae9ac0.tar.gz lombok-32bed51fede1eebef2006d54b3e364de22ae9ac0.tar.bz2 lombok-32bed51fede1eebef2006d54b3e364de22ae9ac0.zip |
ecj: generate default constructor for builder classes
Diffstat (limited to 'test/transform/resource/after-ecj/SuperBuilderWithGenerics2.java')
-rw-r--r-- | test/transform/resource/after-ecj/SuperBuilderWithGenerics2.java | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/test/transform/resource/after-ecj/SuperBuilderWithGenerics2.java b/test/transform/resource/after-ecj/SuperBuilderWithGenerics2.java index 74cf376e..7db95ea0 100644 --- a/test/transform/resource/after-ecj/SuperBuilderWithGenerics2.java +++ b/test/transform/resource/after-ecj/SuperBuilderWithGenerics2.java @@ -4,6 +4,9 @@ public class SuperBuilderWithGenerics2 { public static abstract @java.lang.SuppressWarnings("all") class ParentBuilder<A, C extends Parent<A>, B extends ParentBuilder<A, C, B>> {
private @java.lang.SuppressWarnings("all") A field1;
private @java.lang.SuppressWarnings("all") java.util.ArrayList<String> items;
+ public ParentBuilder() {
+ super();
+ }
protected abstract @java.lang.SuppressWarnings("all") B self();
public abstract @java.lang.SuppressWarnings("all") C build();
public @java.lang.SuppressWarnings("all") B field1(final A field1) {
@@ -32,7 +35,8 @@ public class SuperBuilderWithGenerics2 { }
}
private static final @java.lang.SuppressWarnings("all") class ParentBuilderImpl<A> extends ParentBuilder<A, Parent<A>, ParentBuilderImpl<A>> {
- private @java.lang.SuppressWarnings("all") ParentBuilderImpl() {
+ private ParentBuilderImpl() {
+ super();
}
protected @java.lang.Override @java.lang.SuppressWarnings("all") ParentBuilderImpl self() {
return this;
@@ -44,6 +48,7 @@ public class SuperBuilderWithGenerics2 { A field1;
@lombok.Singular List<String> items;
protected @java.lang.SuppressWarnings("all") Parent(final ParentBuilder<A, ?, ?> b) {
+ super();
this.field1 = b.field1;
java.util.List<String> items;
switch (((b.items == null) ? 0 : b.items.size())) {
@@ -65,6 +70,9 @@ public class SuperBuilderWithGenerics2 { public static @lombok.experimental.SuperBuilder(builderMethodName = "builder2") class Child<A> extends Parent<String> {
public static abstract @java.lang.SuppressWarnings("all") class ChildBuilder<A, C extends Child<A>, B extends ChildBuilder<A, C, B>> extends Parent.ParentBuilder<String, C, B> {
private @java.lang.SuppressWarnings("all") A field3;
+ public ChildBuilder() {
+ super();
+ }
protected abstract @java.lang.Override @java.lang.SuppressWarnings("all") B self();
public abstract @java.lang.Override @java.lang.SuppressWarnings("all") C build();
public @java.lang.SuppressWarnings("all") B field3(final A field3) {
@@ -76,7 +84,8 @@ public class SuperBuilderWithGenerics2 { }
}
private static final @java.lang.SuppressWarnings("all") class ChildBuilderImpl<A> extends ChildBuilder<A, Child<A>, ChildBuilderImpl<A>> {
- private @java.lang.SuppressWarnings("all") ChildBuilderImpl() {
+ private ChildBuilderImpl() {
+ super();
}
protected @java.lang.Override @java.lang.SuppressWarnings("all") ChildBuilderImpl self() {
return this;
|