diff options
author | Jan Rieke <it@janrieke.de> | 2018-09-11 16:59:29 +0200 |
---|---|---|
committer | Jan Rieke <it@janrieke.de> | 2018-09-11 16:59:29 +0200 |
commit | da59d2d6375afcfcf6cb43288adba61cb99a49e8 (patch) | |
tree | 489a73df6b17b11d4bda2e7cace9b2a8d261db0a /test/transform/resource | |
parent | 1f3688fdba92508e091eab39b6131dbca2a8ef83 (diff) | |
download | lombok-da59d2d6375afcfcf6cb43288adba61cb99a49e8.tar.gz lombok-da59d2d6375afcfcf6cb43288adba61cb99a49e8.tar.bz2 lombok-da59d2d6375afcfcf6cb43288adba61cb99a49e8.zip |
SuperBuilder: generate toBuilder method (ecj)
Diffstat (limited to 'test/transform/resource')
-rw-r--r-- | test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java | 6 |
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();
}
}
|