Bug 278170 - [introduce factory] Enable "Introduce Factory" for static nested classes
Summary: [introduce factory] Enable "Introduce Factory" for static nested classes
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-28 04:29 EDT by Mauro Molinari CLA
Modified: 2013-03-01 08:31 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mauro Molinari CLA 2009-05-28 04:29:38 EDT
I was wondering if there is any reason for which the "Introduce Factory" refactoring has been disabled for nested classes, I mean static nested classes (not non-static inner classes).

It would be very useful to have it enabled.
Comment 1 Markus Keller CLA 2009-05-28 06:09:24 EDT
There's no particular reason other than that it has just not been implemented so far.
Comment 2 Ali CLA 2013-03-01 06:58:41 EST
Hi Markus and Fuhrer,

It's been a long time that this issue (allowing introduce factory refactoring on  nested types) has not been resolved. Can you please explain a few difficulties or challenges in the implementation of this feature? I have to add the reason in my thesis, as I'm using the Introduce Factory refactoring in my project and have to skip the nested types. Many thanks. 

Cheers, Ali
Massey University, 
New Zealand.
Comment 3 Markus Keller CLA 2013-03-01 08:31:29 EST
I don't expect this to be difficult or challenging. It's just not been fixed due to lack of resources and because nobody has attached a good quality patch.