aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-01-12 05:27:04 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-01-12 05:27:04 +0100
commit65b97f74af72f44fb1ae00869d9a00421a872701 (patch)
tree024baf7092f66db0ecb60961f4b87cbf9c9bed27 /test/transform/resource/before
parentacd00976628b1ef7be6ed5aacb3637e993575c26 (diff)
downloadlombok-65b97f74af72f44fb1ae00869d9a00421a872701.tar.gz
lombok-65b97f74af72f44fb1ae00869d9a00421a872701.tar.bz2
lombok-65b97f74af72f44fb1ae00869d9a00421a872701.zip
added singleton builder support for javac: guava lists and sets.
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/BuilderSingletonGuavaListsSets.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/transform/resource/before/BuilderSingletonGuavaListsSets.java b/test/transform/resource/before/BuilderSingletonGuavaListsSets.java
new file mode 100644
index 00000000..060d2903
--- /dev/null
+++ b/test/transform/resource/before/BuilderSingletonGuavaListsSets.java
@@ -0,0 +1,14 @@
+import com.google.common.collect.ImmutableList;
+import com.google.common.collect.ImmutableCollection;
+import com.google.common.collect.ImmutableSet;
+import com.google.common.collect.ImmutableSortedSet;
+
+import lombok.Singular;
+
+@lombok.Builder
+class BuilderSingletonGuavaListsSets<T> {
+ @Singular private ImmutableList<T> cards;
+ @Singular private ImmutableCollection<? extends Number> frogs;
+ @Singular("rawSet") private ImmutableSet rawSet;
+ @Singular private ImmutableSortedSet<String> passes;
+}