public static @Nullable ProblemsViewTab getSelectedTab(@NotNull Project project) {
    Content selectedContent = getSelectedContent(project);
    return selectedContent == null ? null : get(ProblemsViewTab.class, selectedContent);
  }
public static @Nullable ProblemsViewTab getSelectedTab(@NotNull Project project)