aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/SetterOnParam.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/SetterOnParam.java')
-rw-r--r--test/transform/resource/after-delombok/SetterOnParam.java36
1 files changed, 36 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/SetterOnParam.java b/test/transform/resource/after-delombok/SetterOnParam.java
new file mode 100644
index 00000000..89a55e00
--- /dev/null
+++ b/test/transform/resource/after-delombok/SetterOnParam.java
@@ -0,0 +1,36 @@
+class SetterOnParam {
+ int i;
+ int j;
+ @java.lang.SuppressWarnings("all")
+ public void setI(@SuppressWarnings("all") final int i) {
+ this.i = i;
+ }
+ @java.lang.SuppressWarnings("all")
+ public void setJ(@java.lang.SuppressWarnings("all") final int j) {
+ this.j = j;
+ }
+}
+class SetterOnClassOnParam {
+ int i;
+ int j;
+ @java.lang.SuppressWarnings("all")
+ public void setI(final int i) {
+ this.i = i;
+ }
+ @java.lang.SuppressWarnings("all")
+ public void setJ(final int j) {
+ this.j = j;
+ }
+}
+class SetterOnClassAndOnAFieldParam {
+ int i;
+ int j;
+ @java.lang.SuppressWarnings("all")
+ public void setI(final int i) {
+ this.i = i;
+ }
+ @java.lang.SuppressWarnings("all")
+ public void setJ(@java.lang.SuppressWarnings("all") final int j) {
+ this.j = j;
+ }
+} \ No newline at end of file