return result;
}
private void computeImportsClosureForModule(Set<String> result,String moduleName) {
// System.out.println("moduleName = " + moduleName);
Module currentModule = getModuleFromName(moduleName);
if(currentModule==null) {
return;
}
String currentModuleName = currentModule.getModulename().getName();
result.add(currentModuleName);
Imports imported = currentModule.getImports();
while(!imported.isEmpty()) {
String name = imported.getHead().getName();
if(!result.contains(name)) {
computeImportsClosureForModule(result,name);
}