aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource/after
diff options
context:
space:
mode:
Diffstat (limited to 'test/delombok/resource/after')
-rw-r--r--test/delombok/resource/after/DataIgnore.java30
-rw-r--r--test/delombok/resource/after/GetterWithDollar.java15
-rw-r--r--test/delombok/resource/after/SetterWithDollar.java15
3 files changed, 60 insertions, 0 deletions
diff --git a/test/delombok/resource/after/DataIgnore.java b/test/delombok/resource/after/DataIgnore.java
new file mode 100644
index 00000000..706d7b59
--- /dev/null
+++ b/test/delombok/resource/after/DataIgnore.java
@@ -0,0 +1,30 @@
+class DataIgnore {
+ final int x;
+ String $name;
+ public DataIgnore(final int x) {
+ this.x = x;
+ }
+ public int getX() {
+ return x;
+ }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object o) {
+ if (o == this) return true;
+ if (o == null) return false;
+ if (o.getClass() != this.getClass()) return false;
+ final DataIgnore other = (DataIgnore)o;
+ if (this.x != other.x) return false;
+ return true;
+ }
+ @java.lang.Override
+ public int hashCode() {
+ final int PRIME = 31;
+ int result = 1;
+ result = result * PRIME + this.x;
+ return result;
+ }
+ @java.lang.Override
+ public java.lang.String toString() {
+ return "DataIgnore(x=" + x + ")";
+ }
+}
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