void (@NotNull ExpandMacroToPathMap result, @NotNull String path, @NotNull String macro) { String parentPath = PathUtilRt.getParentPath(path); if (!parentPath.isEmpty()) { doAddFileHierarchyReplacements(result, parentPath, macro + "/.."); } result.put(macro, path); }