aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/BuilderSingularSetsWithSetterPrefix.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/BuilderSingularSetsWithSetterPrefix.java')
-rw-r--r--test/transform/resource/before/BuilderSingularSetsWithSetterPrefix.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/before/BuilderSingularSetsWithSetterPrefix.java b/test/transform/resource/before/BuilderSingularSetsWithSetterPrefix.java
new file mode 100644
index 00000000..16026f2d
--- /dev/null
+++ b/test/transform/resource/before/BuilderSingularSetsWithSetterPrefix.java
@@ -0,0 +1,12 @@
+import java.util.Set;
+import java.util.SortedSet;
+
+import lombok.Singular;
+
+@lombok.Builder(setterPrefix = "with")
+class BuilderSingularSets<T> {
+ @Singular private Set<T> dangerMice;
+ @Singular private SortedSet<? extends Number> octopodes;
+ @SuppressWarnings("all") @Singular("rawSet") private Set rawSet;
+ @Singular("stringSet") private Set<String> stringSet;
+}