aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/DelegateWithDeprecated.java
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/before/DelegateWithDeprecated.java
parent0f861010989cb03d09003f91d936f100080b1a18 (diff)
downloadlombok-c809047b7892e4729f892445f730dff1d21065d6.tar.gz
lombok-c809047b7892e4729f892445f730dff1d21065d6.tar.bz2
lombok-c809047b7892e4729f892445f730dff1d21065d6.zip
support delegate with deprecated comment.
Diffstat (limited to 'test/transform/resource/before/DelegateWithDeprecated.java')
-rw-r--r--test/transform/resource/before/DelegateWithDeprecated.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/transform/resource/before/DelegateWithDeprecated.java b/test/transform/resource/before/DelegateWithDeprecated.java
new file mode 100644
index 00000000..b748c6ec
--- /dev/null
+++ b/test/transform/resource/before/DelegateWithDeprecated.java
@@ -0,0 +1,13 @@
+import lombok.Delegate;
+
+class DelegateWithDeprecated {
+ @Delegate private Bar bar;
+
+ private interface Bar {
+ @Deprecated
+ void deprecatedAnnotation();
+ /** @deprecated */
+ void deprecatedComment();
+ void notDeprecated();
+ }
+} \ No newline at end of file