ExpandMacroToPathMap (@Nullable ComponentManagerSettings moduleSettings) { ExpandMacroToPathMap map = createExpandMacroMap(); if (moduleSettings != null) { String modulePath = FileUtilRt.toSystemIndependentName(moduleSettings.getPath().getParent().toAbsolutePath().toString()); map.addMacroExpand(PathMacroUtil.MODULE_DIR_MACRO_NAME, modulePath); } return map; }