diff options
author | Roel Spilker <r.spilker@gmail.com> | 2010-07-25 01:49:58 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2010-07-25 01:49:58 +0200 |
commit | acb0e52bc09a66e9a5b5446c374cbc90a732762a (patch) | |
tree | b57a208be83f1624d69e500f3e15c61d3cb8f631 /test/transform/resource/before/DataOnLocalClass.java | |
parent | 9bc463231524e634091b314376ff5a38cc5cbb51 (diff) | |
download | lombok-acb0e52bc09a66e9a5b5446c374cbc90a732762a.tar.gz lombok-acb0e52bc09a66e9a5b5446c374cbc90a732762a.tar.bz2 lombok-acb0e52bc09a66e9a5b5446c374cbc90a732762a.zip |
Do not generate @ConstructorProperties for method-local classes
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 |