From fe7f0db2fce7b4c80853b9aed100908ff1f55f40 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Wed, 10 Nov 2010 01:44:04 +0100 Subject: From now on it is possible to specify annotations to be placed on the method or the parameter of the generated getter/setter methods. --- .../resource/after-delombok/SetterOnParamAndOnMethod.java | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/transform/resource/after-delombok/SetterOnParamAndOnMethod.java (limited to 'test/transform/resource/after-delombok/SetterOnParamAndOnMethod.java') diff --git a/test/transform/resource/after-delombok/SetterOnParamAndOnMethod.java b/test/transform/resource/after-delombok/SetterOnParamAndOnMethod.java new file mode 100644 index 00000000..a80c3462 --- /dev/null +++ b/test/transform/resource/after-delombok/SetterOnParamAndOnMethod.java @@ -0,0 +1,8 @@ +class SetterOnParamAndOnMethod { + int i; + @Deprecated + @java.lang.SuppressWarnings("all") + public void setI(@SuppressWarnings("all") final int i) { + this.i = i; + } +} \ No newline at end of file -- cgit