aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/SetterOnMethod.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/SetterOnMethod.java')
-rw-r--r--test/transform/resource/before/SetterOnMethod.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/transform/resource/before/SetterOnMethod.java b/test/transform/resource/before/SetterOnMethod.java
new file mode 100644
index 00000000..d680b34b
--- /dev/null
+++ b/test/transform/resource/before/SetterOnMethod.java
@@ -0,0 +1,15 @@
+import lombok.Setter;
+class SetterOnMethod {
+ @lombok.Setter(onMethod=@Deprecated) int i;
+ @lombok.Setter(onMethod={@java.lang.Deprecated}) int j;
+}
+@lombok.Setter(onMethod=@Deprecated)
+class SetterOnClassOnMethod {
+ int i;
+ int j;
+}
+@lombok.Setter(onMethod=@Deprecated)
+class SetterOnClassAndOnAField {
+ int i;
+ @lombok.Setter(onMethod={@java.lang.Deprecated}) int j;
+}