Stream<String> (Element libraryElement, @Nullable ModuleSettings moduleSettings) { //todo support jar directories Element classesChild = libraryElement.getChild("CLASSES"); if (classesChild == null) { return Stream.empty(); } ExpandMacroToPathMap pathMap = createExpandMacroMap(moduleSettings); return classesChild.getChildren("root").stream() .map(root -> { String url = root.getAttributeValue("url"); return url == null ? null : pathMap.substitute(url, true); }) .filter(Objects::nonNull); }