// The container manager knows about resource <-> container mapping
final ValidationStateBasedContainerManager validationContainerManager = getContainerManager();
// ResourceDescriptions is an index of all exports
IResourceDescriptions descriptionIndex = getResourceDescriptions();
// translate all exports and create a map from IEObjectDescription to
// Export
Map<IEObjectDescription, ModuleExport> exports = Maps.newHashMap();
for(IResourceDescription rdesc : descriptionIndex.getAllResourceDescriptions()) {
String handle = validationContainerManager.getContainerHandle(rdesc, descriptionIndex);
if(handle == null)
continue;
// TODO: This is a leap of faith, handles are all paths, except the