ArgumentWatcher in codegen