void (@NotNull PsiElement element) { super.visitElement(element); final PsiElement[] children = element.getChildren(); if (children.length == 0) { final String text = element.getText(); out.append(text); } else { for (PsiElement child : children) { child.accept(this); } } }