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 194815

Summary: Add a new hint to @Override annotation errors to "Remove method"
Product: java Reporter: _ wadechandler <wadechandler>
Component: HintsAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ wadechandler 2011-01-28 15:43:16 UTC
Please see:
http://wadechandler.blogspot.com/2011/01/java-override-and-refactoring.html

as to why I'm requesting this as an aid in refactoring. Basically, when one has methods which no longer make sense in an interface or class and they must be removed, classes overriding them have these methods which no longer make sense. These methods can be renamed, logic pulled from them, or perhaps completely removed. It would be very handy to just ALT-ENTER then use the "Remove method" hint to be done with the method.
Comment 1 MackSix 2011-11-14 12:34:11 UTC

*** This bug has been marked as a duplicate of bug 194817 ***