descriptors.put(cd.getClassVMName(), cd);
}
}
public void visit(IType type, String vmname) {
ClassDescriptor descriptor = (ClassDescriptor) descriptors.remove(vmname);
if (descriptor != null) {
DataHolder data = coveragedata == null ? null : coveragedata.getCoverage(descriptor);
if (data != null && data.m_stamp != descriptor.getStamp()) {
TRACER.trace("Invalid meta data signature for {0}.", descriptor.getClassVMName()); //$NON-NLS-1$
} else {
TypeCoverage typecoverage = (TypeCoverage) getCoverage(type, descriptor.hasCompleteLineNumberInfo());
IResource resource = type.getResource();
typecoverage.addType(data != null);
MethodDescriptor[] methods = descriptor.getMethods();
UnboundMethodCoverage[] ubcoverage = new UnboundMethodCoverage[methods.length];
boolean[][] covered = data == null ? null : data.m_coverage;
for (int i = 0; i < methods.length; i++) {
ubcoverage[i] = processMethodCoverage(methods[i], covered == null ? null : covered[i], typecoverage, resource);
}