void (@NotNull Project project, @NotNull String name) { List<Item> items = ((CollectionComboBoxModel<Item>)super.getModel()).getItems(); Item selectedItem = ContainerUtil.find(items, item -> item.myModule != null && item.myModule.getName().equals(name)); setSelectedItem(selectedItem); }