aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/GetterOnMethod.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/GetterOnMethod.java')
-rw-r--r--test/transform/resource/after-delombok/GetterOnMethod.java39
1 files changed, 39 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/GetterOnMethod.java b/test/transform/resource/after-delombok/GetterOnMethod.java
new file mode 100644
index 00000000..0c18170b
--- /dev/null
+++ b/test/transform/resource/after-delombok/GetterOnMethod.java
@@ -0,0 +1,39 @@
+class GetterOnMethod {
+ int i;
+ int j;
+ @Deprecated
+ @java.lang.SuppressWarnings("all")
+ public int getI() {
+ return this.i;
+ }
+ @java.lang.Deprecated
+ @java.lang.SuppressWarnings("all")
+ public int getJ() {
+ return this.j;
+ }
+}
+class GetterOnClassOnMethod {
+ int i;
+ int j;
+ @java.lang.SuppressWarnings("all")
+ public int getI() {
+ return this.i;
+ }
+ @java.lang.SuppressWarnings("all")
+ public int getJ() {
+ return this.j;
+ }
+}
+class GetterOnClassAndOnAField {
+ int i;
+ int j;
+ @java.lang.SuppressWarnings("all")
+ public int getI() {
+ return this.i;
+ }
+ @java.lang.Deprecated
+ @java.lang.SuppressWarnings("all")
+ public int getJ() {
+ return this.j;
+ }
+} \ No newline at end of file