diff options
author | Roel Spilker <r.spilker@gmail.com> | 2009-12-07 16:05:19 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2009-12-07 16:05:19 +0100 |
commit | d5e7ae61c0d820be49a181a3f1755d84c0908058 (patch) | |
tree | 6ad5ad5091668da79aa649550a3e7d5af819c22d /test/delombok/resource/before | |
parent | 89c058f96e55208299c23e3573d7578f7099d785 (diff) | |
download | lombok-d5e7ae61c0d820be49a181a3f1755d84c0908058.tar.gz lombok-d5e7ae61c0d820be49a181a3f1755d84c0908058.tar.bz2 lombok-d5e7ae61c0d820be49a181a3f1755d84c0908058.zip |
Added tests to see if we handle fields that start with a $ correctly
Diffstat (limited to 'test/delombok/resource/before')
-rw-r--r-- | test/delombok/resource/before/GetterWithDollar.java | 9 | ||||
-rw-r--r-- | test/delombok/resource/before/SetterWithDollar.java | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/test/delombok/resource/before/GetterWithDollar.java b/test/delombok/resource/before/GetterWithDollar.java new file mode 100644 index 00000000..e1ef0818 --- /dev/null +++ b/test/delombok/resource/before/GetterWithDollar.java @@ -0,0 +1,9 @@ +//ignore +class GetterWithDollar1 { + @lombok.Getter int $i; +} + +class GetterWithDollar2 { + @lombok.Getter int $i; + @lombok.Getter int i; +} diff --git a/test/delombok/resource/before/SetterWithDollar.java b/test/delombok/resource/before/SetterWithDollar.java new file mode 100644 index 00000000..c09173b0 --- /dev/null +++ b/test/delombok/resource/before/SetterWithDollar.java @@ -0,0 +1,9 @@ +//ignore +class SetterWithDollar1 { + @lombok.Setter int $i; +} + +class SetterWithDollar2 { + @lombok.Setter int $i; + @lombok.Setter int i; +} |