public static LocalQuickFix[] getDefaultBatchFixes(
    @NotNull PsiElement element,
    @NotNull TextRange textRange,
    @NotNull String word
  ) {
    return DictionaryLayersProvider.getAllLayers(element.getProject())
      .stream().map(it -> SpellCheckerQuickFixFactory.saveTo(element, textRange, word, it))
      .toArray(LocalQuickFix[]::new);
  }
public static LocalQuickFix[] getDefaultBatchFixes(
    @NotNull PsiElement element,
    @NotNull TextRange textRange,
    @NotNull String word
  )