diff options
author | Jan Rieke <it@janrieke.de> | 2018-09-16 15:51:19 +0200 |
---|---|---|
committer | Jan Rieke <it@janrieke.de> | 2018-09-16 15:51:19 +0200 |
commit | 7a287670f4bb6b22db920b980ce5dde4fcef5af5 (patch) | |
tree | a00d74e9bcbd885146c0c53e1ea074cdd5e2431c /test | |
parent | f5fff49f73ceabb776f470a9ed346ace0ce12be6 (diff) | |
download | lombok-7a287670f4bb6b22db920b980ce5dde4fcef5af5.tar.gz lombok-7a287670f4bb6b22db920b980ce5dde4fcef5af5.tar.bz2 lombok-7a287670f4bb6b22db920b980ce5dde4fcef5af5.zip |
SuperBuilder toBuilder: generate static toBuilder helper method (javac)
Diffstat (limited to 'test')
-rw-r--r-- | test/transform/resource/after-delombok/SuperBuilderBasicToBuilder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/transform/resource/after-delombok/SuperBuilderBasicToBuilder.java b/test/transform/resource/after-delombok/SuperBuilderBasicToBuilder.java index dc0b6e0c..7a80f019 100644 --- a/test/transform/resource/after-delombok/SuperBuilderBasicToBuilder.java +++ b/test/transform/resource/after-delombok/SuperBuilderBasicToBuilder.java @@ -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 $fillValuesFromInstanceIntoBuilder(final Parent instance, final ParentBuilder<?,?> b) {
+ private static void $fillValuesFromInstanceIntoBuilder(final Parent instance, final ParentBuilder<?, ?> b) {
b.field1(instance.field1);
b.obtainViaField(instance.field1);
b.obtainViaMethod(instance.method());
@@ -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 $fillValuesFromInstanceIntoBuilder(final Parent instance, final ParentBuilder<?,?> b) {
+ private static void $fillValuesFromInstanceIntoBuilder(final Child instance, final ChildBuilder<?, ?> b) {
b.field3(instance.field3);
}
@java.lang.SuppressWarnings("all")
|