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.
Netbeans can extract Interface from existing class, but can't update it, add new method from actual class to existing Interface. I suggest two solution: 1.) Add new item to feractoring methods as "Update existing interface" or 2.) Use existing "Extract interface" and add Selectbox which existing interfaces which actual class already implementing
Sorry but I cannot quite understand your request. Can you provide more detail and/or some sample of usages. Thanks. Anyway there already are checkboxes in extract interface dialog which allows you to move suitable elements (methods, public static final fields, implemented interfaces) into newly introduced interface. In addition when you want to add more elements from implementing class to interface you can use Pull Up refactoring
"Pull Up" refactoring is almost what I need. I don't tried it before. Sorry. But it has one problem. It show also methods that are in the interface already. This is problem, because I don't remember which methods are in inteface class already. When I try make refactoring, Netbeans say error, but I must uncheck one checkbox and try it again. Much better would bi hidden or disable method/field which are in Interace already.
sorry, A11Y was for another issue