String (@NotNull String s, @NotNull PsiElement token) { StringBuilder buffer = new StringBuilder(); StringUtil.escapeStringCharacters(s.length(), s, isStringLiteral(token) ? "\"" : "'", buffer); return buffer.toString(); }