ClassLoader (List<Path> files, AntDomProject antProject) { ClassLoader parentLoader = antProject.getClassLoader(); if (files.isEmpty()) { return parentLoader; } return new AntResourcesClassLoader(files, parentLoader, false, false); }