public static @Nullable PsiElement nextLeaf(@NotNull PsiElement element, boolean skipEmptyElements) {
    PsiElement nextLeaf = nextLeaf(element);
    while (skipEmptyElements && nextLeaf != null && nextLeaf.getTextLength() == 0) nextLeaf = nextLeaf(nextLeaf);
    return nextLeaf;
  }
public static @Nullable PsiElement nextLeaf(@NotNull PsiElement element, boolean skipEmptyElements)