class Test { class A { private Integer i = 0; void foo() { i.toString(); } } class B extends A { void bar(A a) { a.fo<caret>o(); } } }