PyStringElement (@NotNull PyStringElement element) { StringBuilder builder = new StringBuilder(); processStringElement(builder, element); PyElementGenerator elementGenerator = PyElementGenerator.getInstance(element.getProject()); return (PyStringElement)elementGenerator.createStringLiteralAlreadyEscaped(builder.toString()).getFirstChild(); }