From 14f861b5f1c49d9ccc2eb0cda088753e6b63d349 Mon Sep 17 00:00:00 2001 From: Jan Rieke Date: Fri, 12 Mar 2021 11:51:18 +0100 Subject: [fixes #2701] fix NPE on customized SuperBuilder with Singular --- .../resource/before/SuperBuilderSingularCustomized.java | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/transform/resource/before/SuperBuilderSingularCustomized.java (limited to 'test/transform/resource/before') diff --git a/test/transform/resource/before/SuperBuilderSingularCustomized.java b/test/transform/resource/before/SuperBuilderSingularCustomized.java new file mode 100644 index 00000000..86b6022a --- /dev/null +++ b/test/transform/resource/before/SuperBuilderSingularCustomized.java @@ -0,0 +1,9 @@ +import java.util.Set; +@lombok.experimental.SuperBuilder +class SuperBuilderSingularCustomized { + @lombok.Singular private Set foos; + public static abstract class SuperBuilderSingularCustomizedBuilder> { + public B custom(final String value) { + return self(); + } + }} -- cgit