String (@NotNull PsiElement element, @Nullable PsiElement elementToReplace, @Nullable String replacement) { final StringBuilder out = new StringBuilder(); getElementText(element, elementToReplace, replacement, out); return out.toString(); }