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