aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java
diff options
context:
space:
mode:
authorJan Rieke <rieke@subshell.com>2022-07-18 08:15:30 +0200
committerJan Rieke <rieke@subshell.com>2022-07-18 08:30:26 +0200
commitd2ae62ac71ebf55406d308dc41e76f36e7cb5ea8 (patch)
tree7a6a23cd22742c972c56657a6bcb6175757f23b9 /test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java
parent588a4a88c19103670bffb4bcc81fc203379253e9 (diff)
downloadlombok-d2ae62ac71ebf55406d308dc41e76f36e7cb5ea8.tar.gz
lombok-d2ae62ac71ebf55406d308dc41e76f36e7cb5ea8.tar.bz2
lombok-d2ae62ac71ebf55406d308dc41e76f36e7cb5ea8.zip
fix all SuperBuilder tests (changed order of generated methods)
Diffstat (limited to 'test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java')
-rw-r--r--test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java b/test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java
index 8c465b0e..011604e9 100644
--- a/test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java
+++ b/test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java
@@ -9,10 +9,6 @@ public class SuperBuilderWithGenerics2 {
private A field1;
@java.lang.SuppressWarnings("all")
private java.util.ArrayList<String> items;
- @java.lang.SuppressWarnings("all")
- protected abstract B self();
- @java.lang.SuppressWarnings("all")
- public abstract C build();
/**
* @return {@code this}.
*/
@@ -41,6 +37,10 @@ public class SuperBuilderWithGenerics2 {
if (this.items != null) this.items.clear();
return self();
}
+ @java.lang.SuppressWarnings("all")
+ protected abstract B self();
+ @java.lang.SuppressWarnings("all")
+ public abstract C build();
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
@@ -90,12 +90,6 @@ public class SuperBuilderWithGenerics2 {
public static abstract class ChildBuilder<A, C extends SuperBuilderWithGenerics2.Child<A>, B extends SuperBuilderWithGenerics2.Child.ChildBuilder<A, C, B>> extends Parent.ParentBuilder<String, C, B> {
@java.lang.SuppressWarnings("all")
private A field3;
- @java.lang.Override
- @java.lang.SuppressWarnings("all")
- protected abstract B self();
- @java.lang.Override
- @java.lang.SuppressWarnings("all")
- public abstract C build();
/**
* @return {@code this}.
*/
@@ -106,6 +100,12 @@ public class SuperBuilderWithGenerics2 {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
+ protected abstract B self();
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ public abstract C build();
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "SuperBuilderWithGenerics2.Child.ChildBuilder(super=" + super.toString() + ", field3=" + this.field3 + ")";
}