void (@NotNull Editor editor, @NotNull PsiFile psiFile) { assertMyFile(psiFile.getProject(), psiFile); for (ReferenceImporter importer : ReferenceImporter.EP_NAME.getExtensionList()) { if (importer.isAddUnambiguousImportsOnTheFlyEnabled(psiFile) && importer.autoImportReferenceAtCursor(editor, psiFile)) break; } }