void () { disableVirtualComma(); configureJava("class C { void m() { arraycop<caret> } }"); complete(); complete(); assertSize(1, myItems); LookupElement item = myItems[0]; item.as(StaticallyImportable.CLASS_CONDITION_KEY).setShouldBeImported(true); // emulate 'Import statically' intention selectItem(item, Lookup.NORMAL_SELECT_CHAR); checkResultWithInlays("import static java.lang.System.arraycopy;\n\nclass C { void m() { arraycopy(<HINT text=\"src:\"/><caret>, <Hint text=\"srcPos:\"/>, <Hint text=\"dest:\"/>, <Hint text=\"destPos:\"/>, <Hint text=\"length:\"/>); } }"); }