}
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);
}
imported = imported.getTail();
}
// System.out.println("result = " + result);
}