diff options
Diffstat (limited to 'test/transform/resource/before/SetterOnMethod.java')
-rw-r--r-- | test/transform/resource/before/SetterOnMethod.java | 15 |
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; +} |