Map<File, JavaProjectReference> asDependency = CollectionUtils.newHashMap(modulesCount);
Map<File, JavaProjectDependency> outputDirToProject = CollectionUtils.newHashMap(modulesCount);
for (NbJavaModule module: parsedModules.values()) {
File moduleDir = module.getModuleDir();
JavaProjectReference projectRef = new JavaProjectReference(moduleDir, module);
asDependency.put(moduleDir, projectRef);
for (JavaSourceSet sourceSet: module.getSources()) {
File classesDir = sourceSet.getOutputDirs().getClassesDir();
String sourceSetName = sourceSet.getName();