first pass at bytecode generation for monitor proxies