aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/transform/resource/after-delombok/SuperBuilderBasic.java5
-rw-r--r--test/transform/resource/after-delombok/SuperBuilderWithGenerics.java5
-rw-r--r--test/transform/resource/before/SuperBuilderBasic.java8
-rw-r--r--test/transform/resource/before/SuperBuilderWithGenerics.java8
4 files changed, 12 insertions, 14 deletions
diff --git a/test/transform/resource/after-delombok/SuperBuilderBasic.java b/test/transform/resource/after-delombok/SuperBuilderBasic.java
index ed1f9bdc..da745b58 100644
--- a/test/transform/resource/after-delombok/SuperBuilderBasic.java
+++ b/test/transform/resource/after-delombok/SuperBuilderBasic.java
@@ -1,6 +1,7 @@
import java.util.List;
public class SuperBuilderBasic {
+ @lombok.experimental.SuperBuilder
public static class Parent {
int field1;
List<String> items;
@@ -97,7 +98,7 @@ public class SuperBuilderBasic {
}
}
-
+ @lombok.experimental.SuperBuilder
public static class Child extends Parent {
double field3;
@@ -130,7 +131,7 @@ public class SuperBuilderBasic {
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
- return "SuperBuilderBasic.Child.ChildBuilder(field3=" + this.field3 + ")";
+ return "SuperBuilderBasic.Child.ChildBuilder(super=" + super.toString() + ", field3=" + this.field3 + ")";
}
}
diff --git a/test/transform/resource/after-delombok/SuperBuilderWithGenerics.java b/test/transform/resource/after-delombok/SuperBuilderWithGenerics.java
index bfd6e4b7..ff080f6c 100644
--- a/test/transform/resource/after-delombok/SuperBuilderWithGenerics.java
+++ b/test/transform/resource/after-delombok/SuperBuilderWithGenerics.java
@@ -1,6 +1,7 @@
import java.util.List;
public class SuperBuilderWithGenerics {
+ @lombok.experimental.SuperBuilder
public static class Parent<A> {
A field1;
List<String> items;
@@ -97,7 +98,7 @@ public class SuperBuilderWithGenerics {
}
}
-
+ @lombok.experimental.SuperBuilder
public static class Child<A> extends Parent<A> {
double field3;
@@ -130,7 +131,7 @@ public class SuperBuilderWithGenerics {
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
- return "SuperBuilderWithGenerics.Child.ChildBuilder(field3=" + this.field3 + ")";
+ return "SuperBuilderWithGenerics.Child.ChildBuilder(super=" + super.toString() + ", field3=" + this.field3 + ")";
}
}
diff --git a/test/transform/resource/before/SuperBuilderBasic.java b/test/transform/resource/before/SuperBuilderBasic.java
index bf3eea64..f4e8c670 100644
--- a/test/transform/resource/before/SuperBuilderBasic.java
+++ b/test/transform/resource/before/SuperBuilderBasic.java
@@ -1,15 +1,13 @@
-import lombok.experimental.SuperBuilder;
-import lombok.Singular;
import java.util.List;
public class SuperBuilderBasic {
- @SuperBuilder
+ @lombok.experimental.SuperBuilder
public static class Parent {
int field1;
- @Singular List<String> items;
+ @lombok.Singular List<String> items;
}
- @SuperBuilder
+ @lombok.experimental.SuperBuilder
public static class Child extends Parent {
double field3;
}
diff --git a/test/transform/resource/before/SuperBuilderWithGenerics.java b/test/transform/resource/before/SuperBuilderWithGenerics.java
index 7b8d459f..c3cd4277 100644
--- a/test/transform/resource/before/SuperBuilderWithGenerics.java
+++ b/test/transform/resource/before/SuperBuilderWithGenerics.java
@@ -1,15 +1,13 @@
-import lombok.experimental.SuperBuilder;
-import lombok.Singular;
import java.util.List;
public class SuperBuilderWithGenerics {
- @SuperBuilder
+ @lombok.experimental.SuperBuilder
public static class Parent<A> {
A field1;
- @Singular List<String> items;
+ @lombok.Singular List<String> items;
}
- @SuperBuilder
+ @lombok.experimental.SuperBuilder
public static class Child<A> extends Parent<A> {
double field3;
}