docs: private List<String> parseList(String listStr) {
          String trimmed = listStr.trim();
          String[] items = trimmed.substring(1, trimmed.length() - 1).split(",");
          List<String> result = new ArrayList<>();
          for (String item : items) {
              String s = item.trim();
              if (!s.isEmpty()) {
                  result.add(s);
              }
          }
          return result;
      }