String (@NotNull PsiLiteralExpression literal) { String value = String.valueOf(literal.getValue()); final StringBuilder builder = new StringBuilder(); StringUtil.escapeStringCharacters(value.length(), value, "\"'", builder); return builder.toString(); }