From 14fa70ae183a1d15b8cee30d10775e0da281114b Mon Sep 17 00:00:00 2001 From: Jan Rieke Date: Fri, 14 Sep 2018 09:28:02 +0200 Subject: SuperBuilder toBuilder: renamed generated static helper method --- .../resource/after-delombok/SuperBuilderBasicToBuilder.java | 8 ++++---- test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'test/transform') diff --git a/test/transform/resource/after-delombok/SuperBuilderBasicToBuilder.java b/test/transform/resource/after-delombok/SuperBuilderBasicToBuilder.java index e44b3aeb..c5099480 100644 --- a/test/transform/resource/after-delombok/SuperBuilderBasicToBuilder.java +++ b/test/transform/resource/after-delombok/SuperBuilderBasicToBuilder.java @@ -26,7 +26,7 @@ public class SuperBuilderBasicToBuilder { private java.util.ArrayList items; @java.lang.SuppressWarnings("all") protected B $fillValuesFrom(final C instance) { - ParentBuilderImpl.$fillValuesFromInto(instance, this); + ParentBuilderImpl.$fillValuesFromInstanceIntoBuilder(instance, this); return self(); } @java.lang.SuppressWarnings("all") @@ -79,7 +79,7 @@ public class SuperBuilderBasicToBuilder { @java.lang.SuppressWarnings("all") private static final class ParentBuilderImpl extends ParentBuilder { @java.lang.SuppressWarnings("all") - private static void $fillValuesFromInto(Parent instance, ParentBuilder b) { + private static void $fillValuesFromInstanceIntoBuilder(Parent instance, ParentBuilder b) { b.field1(instance.field1); b.obtainViaField(instance.field1); b.obtainViaMethod(instance.method()); @@ -138,7 +138,7 @@ public class SuperBuilderBasicToBuilder { @java.lang.SuppressWarnings("all") protected B $fillValuesFrom(final C instance) { super.$fillValuesFrom(instance); - ChildBuilderImpl.$fillValuesFromInto(instance, this); + ChildBuilderImpl.$fillValuesFromInstanceIntoBuilder(instance, this); return self(); } @java.lang.Override @@ -161,7 +161,7 @@ public class SuperBuilderBasicToBuilder { @java.lang.SuppressWarnings("all") private static final class ChildBuilderImpl extends ChildBuilder { @java.lang.SuppressWarnings("all") - private static void $fillValuesFromInto(Parent instance, ParentBuilder b) { + private static void $fillValuesFromInstanceIntoBuilder(Parent instance, ParentBuilder b) { b.field3(instance.field3); } @java.lang.SuppressWarnings("all") diff --git a/test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java b/test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java index 6ff2849d..fac9ab55 100644 --- a/test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java +++ b/test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java @@ -11,7 +11,7 @@ public class SuperBuilderBasicToBuilder { super(); } protected @java.lang.SuppressWarnings("all") B $fillValuesFrom(final C instance) { - ParentBuilderImpl.$fillValuesFromInto(instance, this); + ParentBuilderImpl.$fillValuesFromInstanceIntoBuilder(instance, this); return self(); } protected abstract @java.lang.SuppressWarnings("all") B self(); @@ -57,7 +57,7 @@ public class SuperBuilderBasicToBuilder { private ParentBuilderImpl() { super(); } - private static @java.lang.SuppressWarnings("all") void $fillValuesFromInto(Parent instance, ParentBuilder b) { + private static @java.lang.SuppressWarnings("all") void $fillValuesFromInstanceIntoBuilder(Parent instance, ParentBuilder b) { b.field1(instance.field1); b.obtainViaField(instance.field1); b.obtainViaMethod(instance.method()); @@ -116,7 +116,7 @@ public class SuperBuilderBasicToBuilder { } protected @java.lang.Override @java.lang.SuppressWarnings("all") B $fillValuesFrom(final C instance) { super.$fillValuesFrom(instance); - ChildBuilderImpl.$fillValuesFromInto(instance, this); + ChildBuilderImpl.$fillValuesFromInstanceIntoBuilder(instance, this); return self(); } protected abstract @java.lang.Override @java.lang.SuppressWarnings("all") B self(); @@ -133,7 +133,7 @@ public class SuperBuilderBasicToBuilder { private ChildBuilderImpl() { super(); } - private static @java.lang.SuppressWarnings("all") void $fillValuesFromInto(Child instance, ChildBuilder b) { + private static @java.lang.SuppressWarnings("all") void $fillValuesFromInstanceIntoBuilder(Child instance, ChildBuilder b) { b.field3(instance.field3); } protected @java.lang.Override @java.lang.SuppressWarnings("all") ChildBuilderImpl self() { -- cgit