public static @NotNull String psiToString(@NotNull PsiElement root,
                                            boolean showWhitespaces,
                                            boolean showRanges,
                                            @Nullable PairConsumer<? super PsiElement, ? super Consumer<? super PsiElement>> extra) {
    return psiToString(root, showWhitespaces, showRanges, false, extra);
  }
public static @NotNull String psiToString(@NotNull PsiElement root,
                                            boolean showWhitespaces,
                                            boolean showRanges,
                                            @Nullable PairConsumer<? super PsiElement, ? super Consumer<? super PsiElement>> extra)