@NotNull
  public static String reformat(@NotNull Project project,
                                @NotNull Language language,
                                @NotNull String text) {
    return WriteCommandAction.runWriteCommandAction(project, (Computable<String>)() -> {
      PsiFile psi = parseHeader(project, language, text);
      if (psi != null) CodeStyleManager.getInstance(project).reformat(psi);
      return psi == null ? text : psi.getText();
    });
  }
@NotNull
  public static String reformat(@NotNull Project project,
                                @NotNull Language language,
                                @NotNull String text)