@NotNull
  public static CommonCodeStyleSettings getLanguageSettings(@NotNull PsiFile file) {
    CodeStyleSettings rootSettings = getSettings(file);
    return rootSettings.getCommonSettings(file.getLanguage());
  }
@NotNull
  public static CommonCodeStyleSettings getLanguageSettings(@NotNull PsiFile file)