[builder] Added clearX() functionality for @Singular annotations for javac. Also docs and changelog.

This commit is contained in:
Reinier Zwitserloot committed 2015-11-16 23:46:12 +01:00
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()) {