@NotNull
  public static Language getDialect(@NotNull PsiElement element) {
    return narrowLanguage(element.getLanguage(), element.getContainingFile().getLanguage());
  }
@NotNull
  public static Language getDialect(@NotNull PsiElement element)