When you verify that the invoke method (Object proxy, Method method, Object [] args) and the doc instruction, you will find that the input parameter is proxy
proxy - proxy instance that was called by the method
when I do a test on a dynamic Java proxy, I find that this proxy is created by vm.So. I want to know why the invoke method has this parameter, which is definitely nothing but an object ($ proxy0), but does not have an actual action for our use?
source
share