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 269063

Summary: Move static methods between interfaces and classes
Product: java Reporter: tcfurrer
Component: RefactoringAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description tcfurrer 2016-11-22 00:10:25 UTC
Bug 92904 added refactor move for static methods in classes.  The same thing is needed now for Java 8's interface static methods.  Currently, attempting refactor move on an interface static method gives an error that says "Can only move members of a class".

It is equally useful to move static methods between interfaces, from an interface to a class, or from a class to an interface.
Comment 1 asxtray 2017-03-17 08:17:34 UTC
Please don't forget about enums!