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 - Move static methods between interfaces and classes
Summary: Move static methods between interfaces and classes
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-22 00:10 UTC by tcfurrer
Modified: 2017-03-17 08:17 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 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!