How can I get the invocation handler for a Java proxy?
- by ripper234
Given:
Object innerProxy = ...
Object proxy = java.lang.reflect.Proxy.
newProxyInstance(Thread.currentThread().getContextClassLoader(),
new Class[]{type},
innerProxy);
How can I extract the innerProxy object from proxy?