void (@NotNull String oldPath, @NotNull String newPath) { if (this instanceof UrlPartNode) { String protocol = myFS.getProtocol(); String myUrl = myUrl(); if (StringUtil.startsWith(myUrl, protocol.length()+URLUtil.SCHEME_SEPARATOR.length(), oldPath)) { myFileOrUrl = protocol + URLUtil.SCHEME_SEPARATOR + newPath + myUrl.substring(protocol.length() + URLUtil.SCHEME_SEPARATOR.length()+oldPath.length()); } } for (FilePartNode child : children) { child.fixUrlPartNodes(oldPath, newPath); } }