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 - Add a new hint to @Override annotation errors to "Remove method"
Summary: Add a new hint to @Override annotation errors to "Remove method"
Status: RESOLVED DUPLICATE of bug 194817
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-28 15:43 UTC by _ wadechandler
Modified: 2011-11-14 12:34 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***