public static void tokenize(@NotNull final PsiElement element,
                              @NotNull final Language language,
                              TokenConsumer consumer, Set<SpellCheckingScope> allowedScopes) {
    SpellcheckingStrategy factoryByLanguage = getSpellcheckingStrategy(element, language);
    if (factoryByLanguage == null) {
      return;
    }
    tokenize(factoryByLanguage, element, consumer, allowedScopes);
  }
public static void tokenize(@NotNull final PsiElement element,
                              @NotNull final Language language,
                              TokenConsumer consumer, Set<SpellCheckingScope> allowedScopes)