void (@NotNull Collection<? extends LightEditorInfo> editorInfos) { ApplicationManager.getApplication().invokeLater(() -> { List<Pair.NonNull<TabInfo, LightEditorInfo>> tabEditorPairs = ContainerUtil.mapNotNull(editorInfos, editorInfo -> { TabInfo info = findTabInfo(editorInfo); if (info == null) return null; return Pair.createNonNull(info, editorInfo); }); if (!tabEditorPairs.isEmpty()) { asyncUpdateTabs(tabEditorPairs); } }); }