class C { class Inner {} T f() {return null;} void bar () { Object o = f(); } }