diff options
author | Jan Rieke <rieke@subshell.com> | 2018-09-14 09:28:02 +0200 |
---|---|---|
committer | Jan Rieke <rieke@subshell.com> | 2018-09-14 09:28:02 +0200 |
commit | 14fa70ae183a1d15b8cee30d10775e0da281114b (patch) | |
tree | 75d153ef63a61dce81c31cbdfc679e673308427c /test/transform | |
parent | da0020cd48bfd321ec68adc99af7ec46e1551231 (diff) | |
download | lombok-14fa70ae183a1d15b8cee30d10775e0da281114b.tar.gz lombok-14fa70ae183a1d15b8cee30d10775e0da281114b.tar.bz2 lombok-14fa70ae183a1d15b8cee30d10775e0da281114b.zip |
SuperBuilder toBuilder: renamed generated static helper method
Diffstat (limited to 'test/transform')
-rw-r--r-- | test/transform/resource/after-delombok/SuperBuilderBasicToBuilder.java | 8 | ||||
-rw-r--r-- | test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java | 8 |
2 files changed, 8 insertions, 8 deletions
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<String> 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<Parent, ParentBuilderImpl> {
@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<Child, ChildBuilderImpl> {
@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() {
|