diff options
Diffstat (limited to 'test/transform/resource/before/DataOnLocalClass.java')
-rw-r--r-- | test/transform/resource/before/DataOnLocalClass.java | 19 |
1 files changed, 19 insertions, 0 deletions
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 |