aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource
diff options
context:
space:
mode:
Diffstat (limited to 'test/delombok/resource')
-rw-r--r--test/delombok/resource/after/GetterWithDollar.java15
-rw-r--r--test/delombok/resource/after/SetterWithDollar.java15
-rw-r--r--test/delombok/resource/before/GetterWithDollar.java9
-rw-r--r--test/delombok/resource/before/SetterWithDollar.java9
4 files changed, 48 insertions, 0 deletions
diff --git a/test/delombok/resource/after/GetterWithDollar.java b/test/delombok/resource/after/GetterWithDollar.java
new file mode 100644
index 00000000..56be0249
--- /dev/null
+++ b/test/delombok/resource/after/GetterWithDollar.java
@@ -0,0 +1,15 @@
+class GetterWithDollar1 {
+ int $i;
+
+ public int getI() {
+ return $i;
+ }
+}
+class GetterWithDollar2 {
+ int $i;
+ int i;
+
+ public int getI() {
+ return i;
+ }
+} \ No newline at end of file
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
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;
+}