mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 02:16:18 +00:00
SuperBuilder: generate fillValuesFrom method (javac)
This commit is contained in:
1 parent
b42ce5325a
commit
abb0d2374e
3 files changed
+95
-7
No files matched your search
@@ -10,7 +10,7 @@ public class SuperBuilderBasic {
|
||||
}
|
||||
protected @java.lang.SuppressWarnings("all") B $fillValuesFrom(final C instance) {
|
||||
this.field1(instance.field1);
|
||||
this.items(instance.items);
|
||||
this.items(instance.items == null ? java.util.Collections.emptyList() : instance.items);
|
||||
return self();
|
||||
}
|
||||
protected abstract @java.lang.SuppressWarnings("all") B self();
|
||||
|
||||
Reference in new issue
Block a user