diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-01-12 05:27:04 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-01-12 05:27:04 +0100 |
commit | 65b97f74af72f44fb1ae00869d9a00421a872701 (patch) | |
tree | 024baf7092f66db0ecb60961f4b87cbf9c9bed27 /test/transform/resource/before | |
parent | acd00976628b1ef7be6ed5aacb3637e993575c26 (diff) | |
download | lombok-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.java | 14 |
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; +} |