class MyClass { public void aMethod() { static class InnerClass { } } }
Illegal modifier for the local class InnerClass; only abstract or final is permitted