void (@NotNull CodeStyleSettingsProvider extension, @NotNull PluginDescriptor pluginDescriptor) { if (!extension.hasSettingsPage() && getDefaultLanguage() == extension.getLanguage()) { final String tabTitle = extension.getConfigurableDisplayName(); for (int i = 0; i < myTabbedPane.getTabCount(); i++) { if (myTabbedPane.getTitleAt(i).equals(tabTitle)) { myTabbedPane.removeTabAt(i); myTabs.stream().filter( panel -> panel.getTabTitle().equals(tabTitle) ).findFirst().ifPresent(panel -> myTabs.remove(panel)); return; } } } }