void () { myFixture.configureByText("a.java", """ class Foo { static class Inner {} } class Bar { void foo(Foo f) { f.<caret> } } """); myFixture.completeBasic(); assertFalse(myFixture.getLookupElementStrings().contains("Inner")); }