public static void runWithLocalSettings(@NotNull Project project,
                                          @NotNull CodeStyleSettings localSettings,
                                          @NotNull Runnable runnable) {
    CodeStyleSettingsManager.getInstance(project).runWithLocalSettings(localSettings, runnable);
  }
public static void runWithLocalSettings(@NotNull Project project,
                                          @NotNull CodeStyleSettings localSettings,
                                          @NotNull Runnable runnable)