for (String newName : nameReplacements.keySet()) {
String oldName = nameReplacements.get(newName);
nc.replaceClassName(newName, oldName);
}
AddedClass ncd = new AddedClass(o.getValue(), nc.toBytecode(), o.getKey().getClassLoader());
newClasses[count++] = ncd;
}
if (useFakereplace) {
Agent.redefine(definitions, newClasses);