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.

Bug 155773 - Editor highlighting should be aware of annotations
Summary: Editor highlighting should be aware of annotations
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2008-12-18 16:21 UTC by mclaassen
Modified: 2014-03-05 20:53 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description mclaassen 2008-12-18 16:21:51 UTC
Eclipse's editor, as well as the editor in Netbeans will notify a user of unused variables.  However, in Eclipse's
editor, if you put an @SuppressWarnings("unused"), the editor will pick that up and not display that warning any more.

Netbeans should be aware of annotations and highlight warnings accordingly.  Also, I would like to see more warnings
about unsafe casts and such...the things that you get with the compile option -Xlint:unchecked.  And, of course, the
corresponding annotation to suppress those warnings would be honored.
Comment 1 Peter Pis 2008-12-18 18:06:16 UTC
Reassigning to editor.
Comment 2 Max Sauer 2009-01-02 14:22:38 UTC
Thanks for filing the issue, lets focus it for 7.0 as an enhancement.