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-ecj/SuperBuilderWithGenericsAndToBuilder.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-ecj/SuperBuilderWithGenericsAndToBuilder.java')
-rw-r--r-- | test/transform/resource/after-ecj/SuperBuilderWithGenericsAndToBuilder.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/transform/resource/after-ecj/SuperBuilderWithGenericsAndToBuilder.java b/test/transform/resource/after-ecj/SuperBuilderWithGenericsAndToBuilder.java index 829b50b9..e7d5dfae 100644 --- a/test/transform/resource/after-ecj/SuperBuilderWithGenericsAndToBuilder.java +++ b/test/transform/resource/after-ecj/SuperBuilderWithGenericsAndToBuilder.java @@ -16,8 +16,6 @@ public class SuperBuilderWithGenericsAndToBuilder { b.field1(instance.field1); b.items(((instance.items == null) ? java.util.Collections.<Integer, String>emptyMap() : instance.items)); } - protected abstract @java.lang.SuppressWarnings("all") B self(); - public abstract @java.lang.SuppressWarnings("all") C build(); /** * @return {@code this}. */ @@ -60,6 +58,8 @@ public class SuperBuilderWithGenericsAndToBuilder { } return self(); } + protected abstract @java.lang.SuppressWarnings("all") B self(); + public abstract @java.lang.SuppressWarnings("all") C build(); public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { return (((((("SuperBuilderWithGenericsAndToBuilder.Parent.ParentBuilder(field1=" + this.field1) + ", items$key=") + this.items$key) + ", items$value=") + this.items$value) + ")"); } @@ -117,8 +117,6 @@ public class SuperBuilderWithGenericsAndToBuilder { private static @java.lang.SuppressWarnings("all") <A>void $fillValuesFromInstanceIntoBuilder(final SuperBuilderWithGenericsAndToBuilder.Child<A> instance, final SuperBuilderWithGenericsAndToBuilder.Child.ChildBuilder<A, ?, ?> b) { b.field3(instance.field3); } - protected abstract @java.lang.Override @java.lang.SuppressWarnings("all") B self(); - public abstract @java.lang.Override @java.lang.SuppressWarnings("all") C build(); /** * @return {@code this}. */ @@ -126,6 +124,8 @@ public class SuperBuilderWithGenericsAndToBuilder { this.field3 = field3; return self(); } + 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.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { return (((("SuperBuilderWithGenericsAndToBuilder.Child.ChildBuilder(super=" + super.toString()) + ", field3=") + this.field3) + ")"); } |