computeSamePackageFromSums(); // TODO flushes cache too many times.
}
void buildPackageDataHelpers(Map<String, ProjectDataHolder> packageToCoverage) {
for (Object o : data.getPackages()) {
PackageData pd = (PackageData) o;
ProjectDataHolder samePackageData = packageToCoverage.get(pd.getName());
childHolders.put( pd.getName(), samePackageData );
try {
PackageDataPair pdp = buildChild( pd.getName() );
// TODO do fudgeClinit and fromSums here perhaps.
addChildRef(pdp);
} catch (RuntimeException e) {
throw new RuntimeException("Could not create PackageDataPair for "
+ pd.getName(), e);
}
}
}