Description
Sonar lists these as major violations, because static classes perform generally better. This is because the JVM needs only to create one class definition.
There are a few others, but those could even benefit from a larger refactoring than just making them static inner classes