aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTaiki Sugawara <buzz.taiki@gmail.com>2012-02-24 23:55:02 +0900
committerTaiki Sugawara <buzz.taiki@gmail.com>2012-02-24 23:55:02 +0900
commit821370e01b1c1878c36da81c5baa93bf1dd5c973 (patch)
tree33bc3f124ffb3326f41bea3c9ae39128eee707ea /test
parentc63d036e78790a6bd4750d778effe2a63914dbaa (diff)
downloadlombok-821370e01b1c1878c36da81c5baa93bf1dd5c973.tar.gz
lombok-821370e01b1c1878c36da81c5baa93bf1dd5c973.tar.bz2
lombok-821370e01b1c1878c36da81c5baa93bf1dd5c973.zip
Add deprecated comment support for eclipse.
Diffstat (limited to 'test')
-rw-r--r--test/transform/resource/after-ecj/DelegateWithDeprecated.java41
1 files changed, 19 insertions, 22 deletions
diff --git a/test/transform/resource/after-ecj/DelegateWithDeprecated.java b/test/transform/resource/after-ecj/DelegateWithDeprecated.java
index 04e12160..2a4fdf98 100644
--- a/test/transform/resource/after-ecj/DelegateWithDeprecated.java
+++ b/test/transform/resource/after-ecj/DelegateWithDeprecated.java
@@ -1,24 +1,21 @@
+import lombok.Delegate;
class DelegateWithDeprecated {
- private Bar bar;
- private interface Bar {
- @Deprecated
- void deprecatedAnnotation();
- /** @deprecated */
- void deprecatedComment();
- void notDeprecated();
- }
- @java.lang.Deprecated
- @java.lang.SuppressWarnings("all")
- public void deprecatedAnnotation() {
- this.bar.deprecatedAnnotation();
- }
- @java.lang.Deprecated
- @java.lang.SuppressWarnings("all")
- public void deprecatedComment() {
- this.bar.deprecatedComment();
- }
- @java.lang.SuppressWarnings("all")
- public void notDeprecated() {
- this.bar.notDeprecated();
- }
+ private interface Bar {
+ @Deprecated void deprecatedAnnotation();
+ void deprecatedComment();
+ void notDeprecated();
+ }
+ private @Delegate Bar bar;
+ public @java.lang.Deprecated @java.lang.SuppressWarnings("all") void deprecatedAnnotation() {
+ this.bar.deprecatedAnnotation();
+ }
+ public @java.lang.Deprecated @java.lang.SuppressWarnings("all") void deprecatedComment() {
+ this.bar.deprecatedComment();
+ }
+ public @java.lang.SuppressWarnings("all") void notDeprecated() {
+ this.bar.notDeprecated();
+ }
+ DelegateWithDeprecated() {
+ super();
+ }
} \ No newline at end of file