public static @Nullable PsiElement prevVisibleLeaf(@NotNull PsiElement element) {
    PsiElement prevLeaf = prevLeaf(element, true);
    while (prevLeaf != null && StringUtil.isEmptyOrSpaces(prevLeaf.getText())) prevLeaf = prevLeaf(prevLeaf, true);
    return prevLeaf;
  }
public static @Nullable PsiElement prevVisibleLeaf(@NotNull PsiElement element)