diff options
author | Taiki Sugawara <buzz.taiki@gmail.com> | 2012-02-22 05:01:35 +0900 |
---|---|---|
committer | Taiki Sugawara <buzz.taiki@gmail.com> | 2012-02-22 05:01:35 +0900 |
commit | c809047b7892e4729f892445f730dff1d21065d6 (patch) | |
tree | 9705dc39e63462c54ff1cabeb1779963edd82f2c /test/transform/resource/after-ecj | |
parent | 0f861010989cb03d09003f91d936f100080b1a18 (diff) | |
download | lombok-c809047b7892e4729f892445f730dff1d21065d6.tar.gz lombok-c809047b7892e4729f892445f730dff1d21065d6.tar.bz2 lombok-c809047b7892e4729f892445f730dff1d21065d6.zip |
support delegate with deprecated comment.
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/DelegateWithDeprecated.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/DelegateWithDeprecated.java b/test/transform/resource/after-ecj/DelegateWithDeprecated.java new file mode 100644 index 00000000..011eaf36 --- /dev/null +++ b/test/transform/resource/after-ecj/DelegateWithDeprecated.java @@ -0,0 +1,29 @@ +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(); + } +}
\ No newline at end of file |