ModuleManager moduleManager = pus.getModuleManager();
if(Module.DEFAULT_MODULE_NAME.equals(moduleName)){
// visit every folder and skip modules
boolean exists = findDefaultModuleSource(srcDir);
if(!exists)
throw new NoSuchModuleException("No source found for default module");
}else{
visitModule(vfs, pus, name, srcDir, vfs.getFromFile(srcDir), moduleManager);
}
for (PhasedUnit pu : pus.getPhasedUnits()) {
pu.visitSrcModulePhase();