JdkComboBox (@NotNull Component component) { List<JdkComboBox> components = UIUtil.uiTraverser(component).filter(JdkComboBox.class).toList(); assertThat(components).hasSize(1); return components.iterator().next(); }