void () { invokeCompletion("/../smartTypeSorting/JComponentAddNew.java"); assertPreferredItems(0, "FooBean3", "JComponent", "Component"); incUseCount(2);//Component assertPreferredItems(0, "Component", "FooBean3", "JComponent"); }