mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 08:17:18 +00:00
[builder] Added clearX() functionality for @Singular annotations for javac. Also docs and changelog.
This commit is contained in:
1 parent
ae4035c9bf
commit
bd78d08417
17 files changed
+245
-6
No files matched your search
@@ -68,6 +68,12 @@ class BuilderWithToBuilder<T> {
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public BuilderWithToBuilderBuilder<T> clearBars() {
|
||||
if (this.bars != null) this.bars.clear();
|
||||
return this;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public BuilderWithToBuilder<T> build() {
|
||||
java.util.List<T> bars;
|
||||
switch (this.bars == null ? 0 : this.bars.size()) {
|
||||
|
||||
Reference in new issue
Block a user