From acb0e52bc09a66e9a5b5446c374cbc90a732762a Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Sun, 25 Jul 2010 01:49:58 +0200 Subject: Do not generate @ConstructorProperties for method-local classes --- test/transform/resource/before/DataOnLocalClass.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/transform/resource/before/DataOnLocalClass.java (limited to 'test/transform/resource/before/DataOnLocalClass.java') diff --git a/test/transform/resource/before/DataOnLocalClass.java b/test/transform/resource/before/DataOnLocalClass.java new file mode 100644 index 00000000..b1272b7e --- /dev/null +++ b/test/transform/resource/before/DataOnLocalClass.java @@ -0,0 +1,19 @@ +import lombok.Data; +class DataOnLocalClass1 { + public static void main(String[] args) { + @Data class Local { + final int x; + String name; + } + } +} +class DataOnLocalClass2 { + { + @Data class Local { + final int x; + @Data class InnerLocal { + @lombok.NonNull String name; + } + } + } +} \ No newline at end of file -- cgit