private static String resolveChild(String parent, String child, boolean win) {
    var separator = getSeparator(win);
    return parent.endsWith(String.valueOf(separator)) ? parent + child : parent + separator + child;
  }
private static String resolveChild(String parent, String child, boolean win)