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