-
The method |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
The idea behind |
Beta Was this translation helpful? Give feedback.
-
The method |
Beta Was this translation helpful? Give feedback.
-
The idea behind |
Beta Was this translation helpful? Give feedback.
The idea behind
getCalleeTarget()
is to return the actual method that would be invoked if called on an object whose concrete type is the passed receiver type. So, callinggetCalleeTarget()
with a receiver type ofObject
only makes sense if the invoked method is something liketoString()
orhashCode()
(assuming Java).