Community
Participate
Working Groups
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.
There's no particular reason other than that it has just not been implemented so far.
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.
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.