diff options
author | Taiki Sugawara <buzz.taiki@gmail.com> | 2012-02-24 23:55:02 +0900 |
---|---|---|
committer | Taiki Sugawara <buzz.taiki@gmail.com> | 2012-02-24 23:55:02 +0900 |
commit | 821370e01b1c1878c36da81c5baa93bf1dd5c973 (patch) | |
tree | 33bc3f124ffb3326f41bea3c9ae39128eee707ea /src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java | |
parent | c63d036e78790a6bd4750d778effe2a63914dbaa (diff) | |
download | lombok-821370e01b1c1878c36da81c5baa93bf1dd5c973.tar.gz lombok-821370e01b1c1878c36da81c5baa93bf1dd5c973.tar.bz2 lombok-821370e01b1c1878c36da81c5baa93bf1dd5c973.zip |
Add deprecated comment support for eclipse.
Diffstat (limited to 'src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java')
-rw-r--r-- | src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java b/src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java index 87335b4e..6977df2b 100644 --- a/src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java +++ b/src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java @@ -581,7 +581,7 @@ public class PatchDelegate { method.modifiers = ClassFileConstants.AccPublic; method.returnType = makeType(binding.returnType, source, false); - boolean isDeprecated = hasDeprecatedAnnotation(binding); + boolean isDeprecated = hasDeprecatedAnnotation(binding) || binding.isDeprecated(); method.selector = binding.selector; |