String (@Nullable PsiElement element) { StringBuilder text = new StringBuilder(); while (element != null && !isBlockCell(element)) { text.append(element.getText()); element = element.getNextSibling(); } return StringUtil.trim(text.toString()); }