diff options
author | Jan Rieke <rieke@subshell.com> | 2022-07-18 08:15:30 +0200 |
---|---|---|
committer | Jan Rieke <rieke@subshell.com> | 2022-07-18 08:30:26 +0200 |
commit | d2ae62ac71ebf55406d308dc41e76f36e7cb5ea8 (patch) | |
tree | 7a6a23cd22742c972c56657a6bcb6175757f23b9 /test/transform/resource/after-delombok/SuperBuilderSingularToBuilderGuava.java | |
parent | 588a4a88c19103670bffb4bcc81fc203379253e9 (diff) | |
download | lombok-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/SuperBuilderSingularToBuilderGuava.java')
-rw-r--r-- | test/transform/resource/after-delombok/SuperBuilderSingularToBuilderGuava.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/transform/resource/after-delombok/SuperBuilderSingularToBuilderGuava.java b/test/transform/resource/after-delombok/SuperBuilderSingularToBuilderGuava.java index ec716fdd..685f3f85 100644 --- a/test/transform/resource/after-delombok/SuperBuilderSingularToBuilderGuava.java +++ b/test/transform/resource/after-delombok/SuperBuilderSingularToBuilderGuava.java @@ -32,10 +32,6 @@ public class SuperBuilderSingularToBuilderGuava { b.users(instance.users == null ? com.google.common.collect.ImmutableTable.<Number, Number, String>of() : instance.users); } @java.lang.SuppressWarnings("all") - protected abstract B self(); - @java.lang.SuppressWarnings("all") - public abstract C build(); - @java.lang.SuppressWarnings("all") public B card(final T card) { if (this.cards == null) this.cards = com.google.common.collect.ImmutableList.builder(); this.cards.add(card); @@ -135,6 +131,10 @@ public class SuperBuilderSingularToBuilderGuava { this.users = null; 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() { @@ -196,12 +196,6 @@ public class SuperBuilderSingularToBuilderGuava { private static <T> void $fillValuesFromInstanceIntoBuilder(final SuperBuilderSingularToBuilderGuava.Child<T> instance, final SuperBuilderSingularToBuilderGuava.Child.ChildBuilder<T, ?, ?> b) { b.field3(instance.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}. */ @@ -212,6 +206,12 @@ public class SuperBuilderSingularToBuilderGuava { } @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 "SuperBuilderSingularToBuilderGuava.Child.ChildBuilder(super=" + super.toString() + ", field3=" + this.field3 + ")"; } |