String (@NotNull PsiElement element) { final PsiElement initialElement = element; PsiElement child = SkippingHandler.getOnlyNonWhitespaceChild(element); while (child != element && child != null && !(child instanceof LeafElement)) { element = child; child = SkippingHandler.getOnlyNonWhitespaceChild(element); } return child instanceof LeafElement ? element.getText() : initialElement.getText(); }