title: How can I get the invocation handler for a Java proxy?
body: <p>Given:</p>
  
  <pre><code>Object innerProxy = ...
  Object proxy = java.lang.reflect.Proxy.
                  newProxyInstance(Thread.currentThread().getContextClassLoader(),
                                   new Class[]{type},
                                   innerProxy);
  </code></pre>
  
  <p>How can I extract the <code>innerProxy</code> object from <code>proxy</code>?</p>