ReplacePathToMacroMap () { ReplacePathToMacroMap result = new ReplacePathToMacroMap(); getPathMacros().addMacroReplacements(result); for (Map.Entry<String, String> entry : PathMacroUtil.getGlobalSystemMacros().entrySet()) { result.addMacroReplacement(entry.getValue(), entry.getKey()); } return result; }