private static @NotNull List<String> splitInner(String path) {
    if (path.isEmpty()) return Collections.emptyList();
    int s = 0;
    int e = path.length();
    if (path.charAt(0) == '/') ++s;
    if (e > s && path.charAt(e - 1) == '/') --e;
    return StringUtil.split(path.substring(s, e), String.valueOf(DELIM), true, false);
  }
private static @NotNull List<String> splitInner(String path)