protected static @Nullable PsiElement firstNonWhiteElement(PsiElement element, boolean lookRight) {
    if (element instanceof PsiWhiteSpace) {
      element = lookRight ? element.getNextSibling() : element.getPrevSibling();
    }
    return element;
  }
protected static @Nullable PsiElement firstNonWhiteElement(PsiElement element, boolean lookRight)