void (@NotNull FacetDependentToolWindow extension, @NotNull PluginDescriptor pluginDescriptor) { ToolWindow window = ToolWindowManager.getInstance(project).getToolWindow(extension.id); if (window != null) { window.remove(); } }