void (@NotNull Project project, @NotNull ProblemsViewPanelProvider provider) { ToolWindow window = getToolWindow(project); assert window != null; ContentManager manager = window.getContentManager(); ProblemsViewTab panel = provider.create(); if (panel == null) { return; } createContent(manager, panel); }