import foo.Outer; class Foo { { new Outer.Inner() { }; } }