List<Type> listModuleType = new LinkedList<Type>();
currentModule = (Modulentry)adt.getHead();
moduleName = currentModule.getModulename().getName();
//System.out.println("Processing module "+moduleName);
modules.add(currentModule);
Entries currentEntries = currentModule.getEntries();
while(!currentEntries.isEmpty()) {
entries.add(currentEntries.getHead());
currentEntries = currentEntries.getTail();
}
while (!entries.isEmpty()) { //For each entry in the module
List<Entry> alts = new LinkedList<Entry>();