ExpandMacroToPathMap () { ExpandMacroToPathMap result = super.getExpandMacroMap(); addFileHierarchyReplacements(result, PathMacroUtil.PROJECT_DIR_MACRO_NAME, myBasePathPointer.get()); if (myNamePointer != null) { result.addMacroExpand(PathMacroUtil.PROJECT_NAME_MACRO_NAME, myNamePointer.get()); } String projectFile = myProjectFilePathPointer.get(); if (projectFile != null) { for (Map.Entry<String, String> entry : ProjectWidePathMacroContributor.getAllMacros(projectFile).entrySet()) { result.addMacroExpand(entry.getKey(), entry.getValue()); } } return result; }