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