class Outer { private void foo() {} class Inner extends Outer { { this.foo(); foo(); } } }