public static @Nullable ToolWindow getToolWindow(@Nullable Project project) {
    return project == null ? null : ToolWindowManager.getInstance(project).getToolWindow(NotificationsToolWindowFactory.ID);
  }
public static @Nullable ToolWindow getToolWindow(@Nullable Project project)