In general, are there any benefits in declaring a private class as static?
In what cases would I want to use one of the following over the other?
private static class Foo { ... }
vs
private class Foo { ... }
static classes differ from ordinary classes only in that they can be accessed without their instances being created. so if you need some class to be accessable every time, use static