diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-11-17 02:14:13 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-11-17 02:14:13 +0100 |
commit | b235bb49c57af4d925f58333d0ad631c6ccf924f (patch) | |
tree | 4660352362a1f349fd26f23bbe9c8a9158235b82 /test/transform/resource/after-ecj/BuilderSingularGuavaListsSets.java | |
parent | 6a003350f61bbebc3a20d8b17b59df6d065ca648 (diff) | |
download | lombok-b235bb49c57af4d925f58333d0ad631c6ccf924f.tar.gz lombok-b235bb49c57af4d925f58333d0ad631c6ccf924f.tar.bz2 lombok-b235bb49c57af4d925f58333d0ad631c6ccf924f.zip |
[issue #937] Refactored the support for guava’s ImmutableTable.
Diffstat (limited to 'test/transform/resource/after-ecj/BuilderSingularGuavaListsSets.java')
-rw-r--r-- | test/transform/resource/after-ecj/BuilderSingularGuavaListsSets.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/transform/resource/after-ecj/BuilderSingularGuavaListsSets.java b/test/transform/resource/after-ecj/BuilderSingularGuavaListsSets.java index 28dc2fac..5cf9f4ac 100644 --- a/test/transform/resource/after-ecj/BuilderSingularGuavaListsSets.java +++ b/test/transform/resource/after-ecj/BuilderSingularGuavaListsSets.java @@ -76,11 +76,12 @@ import lombok.Singular; } public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularGuavaListsSetsBuilder<T> clearPasses() { this.passes = null; + return this; } - public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularGuavaListsSetsBuilder<T> user(com.google.common.collect.Table.Cell<Number, Number, String> user) { + public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularGuavaListsSetsBuilder<T> user(Number rowKey, Number columnKey, String value) { if ((this.users == null)) this.users = com.google.common.collect.ImmutableTable.builder(); - this.users.put(user); + this.users.put(rowKey, columnKey, value); return this; } public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularGuavaListsSetsBuilder<T> users(com.google.common.collect.Table<? extends Number, ? extends Number, ? extends String> users) { @@ -89,6 +90,10 @@ import lombok.Singular; this.users.putAll(users); return this; } + public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularGuavaListsSetsBuilder<T> clearUsers() { + this.users = null; + return this; + } public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularGuavaListsSets<T> build() { com.google.common.collect.ImmutableList<T> cards = ((this.cards == null) ? com.google.common.collect.ImmutableList.<T>of() : this.cards.build()); com.google.common.collect.ImmutableCollection<Number> frogs = ((this.frogs == null) ? com.google.common.collect.ImmutableList.<Number>of() : this.frogs.build()); |