List<File> (AntDomPattern pattern, Set<AntFilesProvider> processed) { final List<File> files = super.getFiles(pattern, processed); for (Iterator<AntDomElement> iterator = getAntChildrenIterator(); iterator.hasNext();) { AntDomElement child = iterator.next(); if (child instanceof AntFilesProvider) { files.addAll(((AntFilesProvider)child).getFiles(processed)); } } return files; }