void (int rootId) { Ref<String> missedRootUrlRef = new Ref<>(); vfsPeer.forEachRoot((rootUrl, rootFileId) -> { if (rootId == rootFileId) { missedRootUrlRef.set(rootUrl); } }); if (missedRootUrlRef.isNull()) { LOG.warn("Can't find root[#" + rootId + "]"); return; } //for roots 'name' == rootPath: String rootPath = vfsPeer.getName(rootId); ensureRootCached(rootPath, missedRootUrlRef.get()); }