List<String> (@NotNull String text) { final PyStringLiteralExpression expr = createLiteralFromText(text); assertNotNull(expr); final List<String> characters = new ArrayList<>(); for (Pair<TextRange, String> fragment : expr.getDecodedFragments()) { characters.add(fragment.getSecond()); } return characters; }