package test2; import test.A; class Test { A.B foo() { return new A.B(); } }