When the Java compiler autoboxes a primitive to the wrapper class, what code does it generate behind the scenes? I imagine it calls:
I'd recommend getting something like jad and decompiling code a lot. You can learn quite a bit about what java's actually doing.