4 ms·
1. For static class: Refactor > Move Inner Class then choose from: a) move it to upper level (new java file), or b) move to another class 2. For non-static cla
by pavlus 6y ago
1. For static class:
Refactor > Move Inner Class
then choose from:
a) move it to upper level (new java file), or
b) move to another class
2. For non-static class:
Refactor > Move Inner Class to Upper Level
Then you can select class name and parameter name of formerly enclosing class.
- dcminter 6y agoAh yes, you're right. Maybe it's Groovy classes that this doesn't work for? Still, when a refactoring operation doesn't exist for a code change (even if it's due to operator ignorance) it's nice to have the Problems pane to tidy up with.