private static @Nullable PsiElement skipWhitespaces(@Nullable PsiElement element) {
    while (element instanceof PsiWhiteSpace) {
      element = element.getNextSibling();
    }
    return element;
  }
private static @Nullable PsiElement skipWhitespaces(@Nullable PsiElement element)