@NotNull
  public static CodeStyleSettings getProjectOrDefaultSettings(@Nullable Project project) {
    return project != null ? getSettings(project) : getDefaultSettings();
  }
@NotNull
  public static CodeStyleSettings getProjectOrDefaultSettings(@Nullable Project project)