diff options
author | Taiki Sugawara <buzz.taiki@gmail.com> | 2012-02-25 00:11:57 +0900 |
---|---|---|
committer | Taiki Sugawara <buzz.taiki@gmail.com> | 2012-02-25 00:11:57 +0900 |
commit | 73dab3e96613521b8769b29e6a3c7e4ee5f26911 (patch) | |
tree | 308cbdb55323266ccb3ff3d78fab4cbf699da808 /src/core/lombok/javac/handlers/HandleDelegate.java | |
parent | 07996af82a1fdb984659c758ad4530840789a2a1 (diff) | |
download | lombok-73dab3e96613521b8769b29e6a3c7e4ee5f26911.tar.gz lombok-73dab3e96613521b8769b29e6a3c7e4ee5f26911.tar.bz2 lombok-73dab3e96613521b8769b29e6a3c7e4ee5f26911.zip |
Handle deprecated by ordinary usage.
Diffstat (limited to 'src/core/lombok/javac/handlers/HandleDelegate.java')
-rw-r--r-- | src/core/lombok/javac/handlers/HandleDelegate.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/handlers/HandleDelegate.java b/src/core/lombok/javac/handlers/HandleDelegate.java index 25f29698..b1b1ecc6 100644 --- a/src/core/lombok/javac/handlers/HandleDelegate.java +++ b/src/core/lombok/javac/handlers/HandleDelegate.java @@ -330,7 +330,7 @@ public class HandleDelegate extends JavacAnnotationHandler<Delegate> { ExecutableType methodType = (ExecutableType) types.asMemberOf(ct, member); String sig = printSig(methodType, member.name, types); if (!banList.add(sig)) continue; //If add returns false, it was already in there - boolean isDeprecated = exElem.getAnnotation(Deprecated.class) != null || (member.flags() & DEPRECATED) != 0; + boolean isDeprecated = (member.flags() & DEPRECATED) != 0; signatures.add(new MethodSig(member.name, methodType, isDeprecated, exElem)); } |