void (@NotNull FilteringGotoByModel<T> gotoFileModel, @NotNull ElementsChooser<T> chooser, boolean initial) { final List<T> markedElements = chooser.getMarkedElements(); gotoFileModel.setFilterItems(markedElements); myParentPopup.rebuildList(initial); }