make_invoke_method(cw, self_type, arity);
make_go_method(cw, self_type, arity);
make_encode_method(cw, self_type, arity);
cw.visitEnd();
byte[] data = cw.toByteArray();
data = weave(data);
Class<? extends EFun> clazz = ERT.defineClass(loader, self_type.replace('/', '.'), data);