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 92904

Summary: Move static methods to another class
Product: java Reporter: ptoye <ptoye>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED FIXED    
Severity: blocker CC: jrose
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 204440, 91516    

Description ptoye 2007-01-20 18:58:52 UTC
Can we please have a mechanism to move static methods to another class? All too
frequently I find that a "utility" class which is there simply to contain a
number of useful static methods gets too big, and needs to be split up into
separate files. The ability to use a refactor mechanism, rather than going
through the project editing each occurrence of the moved methods would save a
load of time.
Comment 1 Jan Pokorsky 2009-12-02 08:30:59 UTC
*** Bug 156499 has been marked as a duplicate of this bug. ***
Comment 2 Ralph Ruijs 2012-02-08 15:01:59 UTC
Fixed by http://hg.netbeans.org/jet-main/rev/7366a9a6ccf3