private void populateDependencyTree(IvyNode dependency, ModuleRevisionId currentMrid,
ResolveReport report) {
registerNodeIfNecessary(dependency.getId());
for (int i = 0; i < dependency.getAllCallers().length; i++) {
Caller caller = dependency.getAllCallers()[i];
addDependency(caller.getModuleRevisionId(), dependency);
}
}