Hacker News new | ask | show | jobs
by Flowdalic 3376 days ago
What if the call site does not use the returned value?
2 comments

The bytecode encodes that information, the method identifier includes name, parameter types and return type.
It's still present in the bytecode (since the VM has to know which method to call).