aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/BuilderSingularGuavaMaps.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-11-16 23:07:39 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-11-16 23:21:58 +0100
commitae4035c9bf117e8f823512c5fd040bd57bc3742e (patch)
tree4efedbfab0500c5d86cd36eaf591d9ecb2e2ca24 /test/transform/resource/after-ecj/BuilderSingularGuavaMaps.java
parentb8a222006da0a535134c5e7e94282550bfe745b6 (diff)
downloadlombok-ae4035c9bf117e8f823512c5fd040bd57bc3742e.tar.gz
lombok-ae4035c9bf117e8f823512c5fd040bd57bc3742e.tar.bz2
lombok-ae4035c9bf117e8f823512c5fd040bd57bc3742e.zip
[builder] Added clearX() functionality for `@Singular` annotations for ecj
Diffstat (limited to 'test/transform/resource/after-ecj/BuilderSingularGuavaMaps.java')
-rw-r--r--test/transform/resource/after-ecj/BuilderSingularGuavaMaps.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/BuilderSingularGuavaMaps.java b/test/transform/resource/after-ecj/BuilderSingularGuavaMaps.java
index d4dfc18a..0a031f2a 100644
--- a/test/transform/resource/after-ecj/BuilderSingularGuavaMaps.java
+++ b/test/transform/resource/after-ecj/BuilderSingularGuavaMaps.java
@@ -22,6 +22,10 @@ import lombok.Singular;
this.battleaxes.putAll(battleaxes);
return this;
}
+ public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularGuavaMapsBuilder<K, V> clearBattleaxes() {
+ this.battleaxes = null;
+ return this;
+ }
public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularGuavaMapsBuilder<K, V> vertex(Integer vertex$key, V vertex$value) {
if ((this.vertices == null))
this.vertices = com.google.common.collect.ImmutableSortedMap.naturalOrder();
@@ -34,6 +38,10 @@ import lombok.Singular;
this.vertices.putAll(vertices);
return this;
}
+ public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularGuavaMapsBuilder<K, V> clearVertices() {
+ this.vertices = null;
+ return this;
+ }
public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularGuavaMapsBuilder<K, V> rawMap(java.lang.Object rawMap$key, java.lang.Object rawMap$value) {
if ((this.rawMap == null))
this.rawMap = com.google.common.collect.ImmutableBiMap.builder();
@@ -46,6 +54,10 @@ import lombok.Singular;
this.rawMap.putAll(rawMap);
return this;
}
+ public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularGuavaMapsBuilder<K, V> clearRawMap() {
+ this.rawMap = null;
+ return this;
+ }
public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularGuavaMaps<K, V> build() {
com.google.common.collect.ImmutableMap<K, V> battleaxes = ((this.battleaxes == null) ? com.google.common.collect.ImmutableMap.<K, V>of() : this.battleaxes.build());
com.google.common.collect.ImmutableSortedMap<Integer, V> vertices = ((this.vertices == null) ? com.google.common.collect.ImmutableSortedMap.<Integer, V>of() : this.vertices.build());