private static @Nullable String getProjectName(AnAction action) {
    return action instanceof ProjectWindowAction ? ((ProjectWindowAction)action).getProjectName() : null;
  }
private static @Nullable String getProjectName(AnAction action)