Inner class to inner static or regular class?

Hi all,

Is there any way to refactor an inner class to an
inner static or a regular one? If not, I'll file a feature
request for this. Yesterday I've spent more than
an hour ripping off a few inner classes (i.e adding
an extra argument to all constructors and converting
all implicit references to the enclosing class into explicit
ones). It wasn't a "pleasant" develoment expirience:-(.

I wonder if there is a need for the reversed case i.e.
for the refactoring of a regular class which is using
a reference to another class to be an inner class?

Any comments?


1 comment
Comment actions Permalink

Is there any way to refactor an inner class to an
inner static or a regular one?


Try 'Move class'.

I guess it isn't obvious, but I prefer it this way - there are already too
many items in the 'refactoring' menu.

regards,
dimiter




0

Please sign in to leave a comment.