ImportFromExistingAction (PsiElement element) { final ImportFromExistingAction action = new ImportFromExistingAction(element, myImports, myInitialName, null, myUseQualifiedImport, false); action.onDone(() -> myExpended = true); return action; }