public void selectType(@NotNull PsiType type) {
    if (myComponent instanceof JComboBox) {
      ((JComboBox<?>)myComponent).setSelectedItem(new PsiTypeItem(type, myProject));
    }
  }
public void selectType(@NotNull PsiType type)