aboutsummaryrefslogtreecommitdiff
path: root/test/transform
diff options
context:
space:
mode:
authorJan Rieke <it@janrieke.de>2018-09-11 16:59:29 +0200
committerJan Rieke <it@janrieke.de>2018-09-11 16:59:29 +0200
commitda59d2d6375afcfcf6cb43288adba61cb99a49e8 (patch)
tree489a73df6b17b11d4bda2e7cace9b2a8d261db0a /test/transform
parent1f3688fdba92508e091eab39b6131dbca2a8ef83 (diff)
downloadlombok-da59d2d6375afcfcf6cb43288adba61cb99a49e8.tar.gz
lombok-da59d2d6375afcfcf6cb43288adba61cb99a49e8.tar.bz2
lombok-da59d2d6375afcfcf6cb43288adba61cb99a49e8.zip
SuperBuilder: generate toBuilder method (ecj)
Diffstat (limited to 'test/transform')
-rw-r--r--test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java b/test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java
index 6dd06fb7..2b294d65 100644
--- a/test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java
+++ b/test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java
@@ -82,7 +82,7 @@ public class SuperBuilderBasicToBuilder {
public ChildBuilder() {
super();
}
- protected @java.lang.Override @java.lang.SuppressWarnings("all") B $fillValuesFrom(C instance) {
+ protected @java.lang.Override @java.lang.SuppressWarnings("all") B $fillValuesFrom(final C instance) {
super.$fillValuesFrom(instance);
field3(instance.field3);
return self();
@@ -120,10 +120,10 @@ public class SuperBuilderBasicToBuilder {
return new ChildBuilderImpl().$fillValuesFrom(this);
}
}
- public SuperBuilderBasic() {
+ public SuperBuilderBasicToBuilder() {
super();
}
public static void test() {
- Child x = Child.builder().field3(0.0).field1(5).item("").build();
+ Child x = Child.builder().field3(0.0).field1(5).item("").build().toBuilder().build();
}
}