void () { if (myIsConflictWithPlatform) { return; } assert myRadioButtons != null && myRadioButtons.size() == myConflictingPlugins.size() + 1; for (int i = 0; i < myConflictingPlugins.size(); i++) { final IdeaPluginDescriptor pluginDescriptor = PluginManagerCore.getPlugin(myConflictingPlugins.get(i)); if (pluginDescriptor != null && (pluginDescriptor.isBundled() || StringUtil.equalsIgnoreCase(pluginDescriptor.getVendor(), "JetBrains"))) { myRadioButtons.get(i).setSelected(true); return; } } myRadioButtons.get(myRadioButtons.size() - 1).setSelected(true); }