public static void runWithLocalSettings(@NotNull Project project,
                                          @NotNull CodeStyleSettings baseSettings,
                                          @NotNull Consumer<? super @NotNull CodeStyleSettings> localSettingsConsumer) {
    CodeStyleSettingsManager.getInstance(project).runWithLocalSettings(baseSettings, localSettingsConsumer);
  }
public static void runWithLocalSettings(@NotNull Project project,
                                          @NotNull CodeStyleSettings baseSettings,
                                          @NotNull Consumer<? super @NotNull CodeStyleSettings> localSettingsConsumer)