diff options
author | Robbert Jan Grootjans <grootjans@gmail.com> | 2012-03-05 21:12:39 +0100 |
---|---|---|
committer | Robbert Jan Grootjans <grootjans@gmail.com> | 2012-03-05 21:12:39 +0100 |
commit | d39623693b779634ea8b25cdc9792bc1ca3c880e (patch) | |
tree | d2365f9d463b6a302854baae3738f745238b2938 /test/transform/resource/after-ecj | |
parent | f1e679471d5dfadcd983476bda0bca61c86dc71c (diff) | |
parent | 1ac79bf86b3a11f34ad7f154f1062541052b114d (diff) | |
download | lombok-d39623693b779634ea8b25cdc9792bc1ca3c880e.tar.gz lombok-d39623693b779634ea8b25cdc9792bc1ca3c880e.tar.bz2 lombok-d39623693b779634ea8b25cdc9792bc1ca3c880e.zip |
Merge branch 'master' of github.com:rzwitserloot/lombok
Conflicts:
doc/changelog.markdown
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/DelegateWithDeprecated.java | 21 |
1 files changed, 21 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..2a4fdf98 --- /dev/null +++ b/test/transform/resource/after-ecj/DelegateWithDeprecated.java @@ -0,0 +1,21 @@ +import lombok.Delegate; +class DelegateWithDeprecated { + 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 |