aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/SetterDeprecated.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2012-03-19 23:18:37 +0100
committerRoel Spilker <r.spilker@gmail.com>2012-03-19 23:18:37 +0100
commit8bc82cad05b8760aa5a01ffabaa6238b6cc535e1 (patch)
tree0e02ca81914544fe3df18b5b548ca0916b25e57f /test/transform/resource/before/SetterDeprecated.java
parentb4fe2d4e25e164f6063df48891c3a941fabed2e9 (diff)
downloadlombok-8bc82cad05b8760aa5a01ffabaa6238b6cc535e1.tar.gz
lombok-8bc82cad05b8760aa5a01ffabaa6238b6cc535e1.tar.bz2
lombok-8bc82cad05b8760aa5a01ffabaa6238b6cc535e1.zip
Fix for issue 342: @Deprecated annotation not propagated to generated getter/setter
Diffstat (limited to 'test/transform/resource/before/SetterDeprecated.java')
-rw-r--r--test/transform/resource/before/SetterDeprecated.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/transform/resource/before/SetterDeprecated.java b/test/transform/resource/before/SetterDeprecated.java
new file mode 100644
index 00000000..e655622f
--- /dev/null
+++ b/test/transform/resource/before/SetterDeprecated.java
@@ -0,0 +1,11 @@
+import lombok.Setter;
+class SetterDeprecated {
+
+ @Deprecated
+ @Setter int annotation;
+
+ /**
+ * @deprecated
+ */
+ @Setter int javadoc;
+} \ No newline at end of file