aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource/after/SetterWithDollar.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2009-12-07 16:05:19 +0100
committerRoel Spilker <r.spilker@gmail.com>2009-12-07 16:05:19 +0100
commitd5e7ae61c0d820be49a181a3f1755d84c0908058 (patch)
tree6ad5ad5091668da79aa649550a3e7d5af819c22d /test/delombok/resource/after/SetterWithDollar.java
parent89c058f96e55208299c23e3573d7578f7099d785 (diff)
downloadlombok-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/after/SetterWithDollar.java')
-rw-r--r--test/delombok/resource/after/SetterWithDollar.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/delombok/resource/after/SetterWithDollar.java b/test/delombok/resource/after/SetterWithDollar.java
new file mode 100644
index 00000000..c26a1ccd
--- /dev/null
+++ b/test/delombok/resource/after/SetterWithDollar.java
@@ -0,0 +1,15 @@
+class SetterWithDollar1 {
+ int $i;
+
+ public void setI(final int i) {
+ this.$i = i;
+ }
+}
+class SetterWithDollar2 {
+ int $i;
+ int i;
+
+ public void setI(final int i) {
+ this.i = i;
+ }
+} \ No newline at end of file