SdkListItem (@Nullable JdkComboBoxItem item) { if (item == null) item = new ProjectJdkComboBoxItem(); if (item instanceof InnerComboBoxItem) { return ((InnerComboBoxItem)item).getItem(); } throw new RuntimeException("Failed to unwrap " + item.getClass().getName() + ": " + item); }