void (Element excludeFromCompileTag, JpsCompilerExcludes excludes) { if (excludeFromCompileTag != null) { for (Element fileTag : JDOMUtil.getChildren(excludeFromCompileTag, "file")) { excludes.addExcludedFile(fileTag.getAttributeValue("url")); } for (Element directoryTag : JDOMUtil.getChildren(excludeFromCompileTag, "directory")) { boolean recursively = Boolean.parseBoolean(directoryTag.getAttributeValue("includeSubdirectories")); excludes.addExcludedDirectory(directoryTag.getAttributeValue("url"), recursively); } } }