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