aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/SetterWithDollar.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/SetterWithDollar.java')
-rw-r--r--test/transform/resource/after-delombok/SetterWithDollar.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/transform/resource/after-delombok/SetterWithDollar.java b/test/transform/resource/after-delombok/SetterWithDollar.java
index c26a1ccd..974efdcd 100644
--- a/test/transform/resource/after-delombok/SetterWithDollar.java
+++ b/test/transform/resource/after-delombok/SetterWithDollar.java
@@ -1,14 +1,20 @@
class SetterWithDollar1 {
int $i;
- public void setI(final int i) {
- this.$i = i;
+ @java.lang.SuppressWarnings("all")
+ public void set$i(final int $i) {
+ this.$i = $i;
}
}
class SetterWithDollar2 {
int $i;
int i;
+ @java.lang.SuppressWarnings("all")
+ public void set$i(final int $i) {
+ this.$i = $i;
+ }
+ @java.lang.SuppressWarnings("all")
public void setI(final int i) {
this.i = i;
}