// not allowed modifiers private static volatile class a { static private public abstract { int i = 4; } synchronized Object x; private class c1 { private void ff() {} } static strictfp class c2 {} private static interface ii { private int f1 = 2; protected int f2 = 2; public int f3 = 3; private int f1(); protected int f2(); public int f3(); void f4(); } void f1(final String i) { final int ii = 3; private int i2; static int i3; try { throw new Exception(); } catch (final static Exception e) { } } } interface ff { static class cc {} } abstract class c { abstract c(); static c(int i) {} native c(boolean b); final c(char c) {} strictfp c(String s) {} synchronized c(Object o) {} } interface i3 { strictfp int f1; transient int f2; synchronized int f3; strictfp int m1() { return 0; } transient int m2() { return 0; } synchronized int m3() { return 0; } } class LocalClassWithInner { void foo () { class A { private class B {} public class B1 {} } } }