List<File> (AntDomPattern pattern, Set<AntFilesProvider> processed) { final List<File> files = new ArrayList<>(); final File baseDir = getCanonicalFile("."); addLocation(baseDir, files, getLocation().getStringValue()); final String pathString = getPath().getStringValue(); if (pathString != null) { final PathTokenizer tokenizer = new PathTokenizer(pathString); while (tokenizer.hasMoreTokens()) { addLocation(baseDir, files, tokenizer.nextToken()); } } return files; }