Here we have a nested class:
class OuterClass {
...
static class StaticNestedClass {
...
}
}
Instead of writing them in the same file, can I declare them in separate files?
This question: Putting Nested Classes In Separate Files tells me to use a refactor option that happens to be available in Eclipse. I use it, but I end up with two files:
class OuterClass {
...
}
and
class StaticNestedClass {
}
But as far as I'm concerned, that's no longer a nested class, right?