String (PsiExpression expression) { final String text = expression.getText(); final int length = text.length(); final String character = text.substring(1, length - 1); return switch (character) { case "'" -> "'\\''"; case "\\\"" -> "'\"'"; default -> '\'' + character + '\''; }; }