void (@NotNull Project project, @NotNull JBList<RecentLocationItem> list, @NotNull JBPopup popup) { ContainerUtil.reverse(list.getSelectedValuesList()).forEach( item -> IdeDocumentHistory.getInstance(project).gotoPlaceInfo(item.info, true)); popup.closeOk(null); }