mb.appendReturn(FACTORY_INTERFACE);
mb.codeComplete(false);
mb.addMethod();
// add factory class to generated registry
cf.codeComplete();
MungedClass.addModifiedClass(cf);
m_factoryClass = cf;
// record the binding factory in each top-level mapped class
ArrayList maps = m_activeContext.getMappings();