@Nullable
  public static ArrangementSettings getArrangementSettings(@NotNull CodeStyleSettings settings, @NotNull Language language) {
    ArrangementSettings arrangementSettings = settings.getCommonSettings(language).getArrangementSettings();
    if (arrangementSettings != null) {
      return arrangementSettings;
    }
    Rearranger<?> rearranger = Rearranger.EXTENSION.forLanguage(language);
    if (rearranger instanceof ArrangementStandardSettingsAware) {
      return ((ArrangementStandardSettingsAware)rearranger).getDefaultSettings();
    }
    return null;
  }
@Nullable
  public static ArrangementSettings getArrangementSettings(@NotNull CodeStyleSettings settings, @NotNull Language language)