void () { myFixture.configureByText("a.java", "\nclass FooFoo {\n { Rectangle2D.Double <caret>x }\n}\nclass Rectangle2D {\n static class Double extends Rectangle2D {}\n}\n"); myFixture.completeBasic(); myFixture.assertPreferredCompletionItems(0, "aDouble", "rectangle2D"); }