From 588a4a88c19103670bffb4bcc81fc203379253e9 Mon Sep 17 00:00:00 2001 From: Jan Rieke Date: Fri, 15 Jul 2022 13:04:31 +0200 Subject: [fix #3230] switch setter and self/build methods to allow overloaded self/build methods --- .../SuperBuilderWithOverloadedGeneratedMethods.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/transform/resource/before/SuperBuilderWithOverloadedGeneratedMethods.java (limited to 'test/transform/resource/before/SuperBuilderWithOverloadedGeneratedMethods.java') diff --git a/test/transform/resource/before/SuperBuilderWithOverloadedGeneratedMethods.java b/test/transform/resource/before/SuperBuilderWithOverloadedGeneratedMethods.java new file mode 100644 index 00000000..be6fea6a --- /dev/null +++ b/test/transform/resource/before/SuperBuilderWithOverloadedGeneratedMethods.java @@ -0,0 +1,15 @@ +public class SuperBuilderWithOverloadedGeneratedMethods { + @lombok.experimental.SuperBuilder + public static class Parent { + int self; + } + + @lombok.experimental.SuperBuilder + public static class Child extends Parent { + double build; + } + + public static void test() { + Child x = Child.builder().build(0.0).self(5).build(); + } +} -- cgit