JpsMacroExpander (Map<String, String> pathVariables, @NotNull Path baseDir) { JpsMacroExpander expander = new JpsMacroExpander(pathVariables); expander.addFileHierarchyReplacements(PathMacroUtil.PROJECT_DIR_MACRO_NAME, baseDir.toFile()); return expander; }