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

Summary: Editor highlighting should be aware of annotations
Product: editor Reporter: mclaassen <mclaassen>
Component: Hints & AnnotationsAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: blocker CC: mprentice
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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.