public static @NotNull RecentsManager getInstance(@NotNull Project project) {
    return project.getService(RecentsManager.class);
  }
public static @NotNull RecentsManager getInstance(@NotNull Project project)