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