FilteringGotoByModel<LanguageRef> (@NotNull Project project) { GotoClassModel2 model = new GotoClassModel2(project); if (filter != null) { model.setFilterItems(filter.getSelectedElements()); } return model; }