aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj
diff options
context:
space:
mode:
authorTaiki Sugawara <buzz.taiki@gmail.com>2012-02-22 05:01:35 +0900
committerTaiki Sugawara <buzz.taiki@gmail.com>2012-02-22 05:01:35 +0900
commitc809047b7892e4729f892445f730dff1d21065d6 (patch)
tree9705dc39e63462c54ff1cabeb1779963edd82f2c /test/transform/resource/after-ecj
parent0f861010989cb03d09003f91d936f100080b1a18 (diff)
downloadlombok-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.java29
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