ModuleName moduleName = entry.getKey();
CompiledModuleSourceDefinition cmsd = entry.getValue();
CompiledDefinitionInfo info = new CompiledDefinitionInfo(cmsd);
GeneratedCodeInfo codeInfo;
try {
codeInfo = info.getCodeInfo();
} catch (IOException e) {
// couldn't get the code info.
continue;
}
// Check whether the compiled definition needs to be regenerated.
if (codeInfo.needToRegenerate()) {
continue;
}
result.put(moduleName, info);
}