diff options
Diffstat (limited to 'test/transform/resource/before/BuilderSingularToBuilderWithNullWithSetterPrefix.java')
-rw-r--r-- | test/transform/resource/before/BuilderSingularToBuilderWithNullWithSetterPrefix.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/transform/resource/before/BuilderSingularToBuilderWithNullWithSetterPrefix.java b/test/transform/resource/before/BuilderSingularToBuilderWithNullWithSetterPrefix.java new file mode 100644 index 00000000..454cac97 --- /dev/null +++ b/test/transform/resource/before/BuilderSingularToBuilderWithNullWithSetterPrefix.java @@ -0,0 +1,10 @@ +import lombok.Singular; + +@lombok.Builder(toBuilder = true, setterPrefix = "with") +class BuilderSingularToBuilderWithNullWithSetterPrefix { + @Singular private java.util.List<String> elems; + + public static void test() { + new BuilderSingularToBuilderWithNullWithSetterPrefix(null).toBuilder(); + } +} |