result.addAll(ModuleUtil.refsToLanguages(myModule.getUsedLanguagesReferences()));
for (DevKit dk : ModuleUtil.refsToDevkits(myModule.getUsedDevkitReferences())) {
result.addAll(dk.getAllExportedLanguages());
}
for (Language l : new HashSet<Language>(result)) {
<BUG>result.addAll(l.getDependenciesManager().getAllExtendedLanguages());
</BUG>
}
return result;
}

result.addAll(ModuleUtil.refsToLanguages(myModule.getUsedLanguagesReferences()));
for (DevKit dk : ModuleUtil.refsToDevkits(myModule.getUsedDevkitReferences())) {
result.addAll(dk.getAllExportedLanguages());
}
for (Language l : new HashSet<Language>(result)) {
l.getDependenciesManager().collectAllExtendedLanguages(result);
}
return result;
}
