String (final String value) { String escapedString = StringUtil.replace(value, "\\", "\\\\"); if (value.contains("'")) { return "u\"" + escapedString + "\""; } else { return "u'" + escapedString + '\''; } }