class Foo {

    void m() {
    class FooExt extends Foo {
      {
        foo();
      }

        public static void foo() {}
    }

    class FooExt1 extends Foo {
      {
        foo();
      }

        public static void foo() {}
    }
  }
}