@NotNull
  public static CodeStyleSettings getSettings(@NotNull Project project) {
    //noinspection deprecation
    return CodeStyleSettingsManager.getInstance(project).getCurrentSettings();
  }
@NotNull
  public static CodeStyleSettings getSettings(@NotNull Project project)