Java bytecode lets you overload method names based on the return type as well as the argument types, even if the language doesn’t.
Java bytecode lets you overload method names based on the return type as well as the argument types, even if the language doesn’t.
Yep, see Class#getMethod – bridge methods rely on this.