This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
dev-040603. Unlike the trunk prior to the refactoring merge, deprecated methods in a class are not displayed with the strikethrough attribute in the code completion popup. This makes it more difficult to separate legitimate from deprecated members.
Moved to new subcomponent java/javacore.
I recommend that the scanner add a DEPRECATED token and return it when a doc-comment has a "@deprecated" string in it. Since doc-comments preceed any modifiers to a class, method, or field, the DEPRECATED token can be treated as just another modifier by client code. This makes it easy for the javacore code that builds the code completion database to detect which entries are deprecated, without additional source processing. I also volunteered to implement this idea, if Tomas approves.
Reassigning to Tom since he is working in the fix.
I think the problem is in javacore instead of gjast, but I'll verify that gjast is forwarding deprecated member information correctly before reassigning this bug.
I have added support in MDRParser to detect deprecated classes and members, and now deprecated variables now display properly in code completion lists (check out java.awt.Frame.*). However, deprecated methods still are not displayed correctly. Martin discussed this with Dusan, who thinks this may be a bug in the editor. I'm therefore transfering the bug to him for completion.
I have fixed code completion to correctly display deprecated methods. It works fine on JDK sources (check out java.awt.Frame.*). However, it seems that Feature.isDeprecated() does not work for my 1.5 project sources. Reassigning back to javacore for further evaluation.
Could you please provide a zipped test project to make it easier for us to reproduce the problem?
Dusane, please see my last comment (I realized you were not CC'ed).
I cannot reproduce the problem in the latest development build -> closing issue as fixed.
Reorganization of java component