List<String> () { List<String> list = new SmartList<>(); for (String name : PathMacros.getInstance().getUserMacroNames()) { list.add("$" + name + "$"); } if (withModuleDir) { list.add(PathMacroUtil.MODULE_WORKING_DIR); } return list; }