// finish with instance creation method
mb = new ExceptionMethodBuilder(GETINST_METHODNAME,
ClassItem.typeFromName(FACTORY_INTERFACE), new Type[0], cf,
(short)(Constants.ACC_PUBLIC | Constants.ACC_STATIC));
mb.appendGetStatic(inst);
BranchWrapper ifdone = mb.appendIFNONNULL(this);
mb.appendCreateNew(cf.getName());
mb.appendDUP();
mb.appendCallInit(cf.getName(), "()V");
mb.appendPutStatic(inst);