title: Getting implemented interfaces from the proxy
body: <p>You normally crate a proxy using</p>
  
  <pre><code>val proxy = Proxy.newProxyInstance(ClassLoader, Class&lt;?&gt;[] interfaces, handler) 
  </code></pre>
  
  <p>I am interested in the second parameter because I save created proxies in a list and I want to recreate the proxy with the same interfaces later on. Should I memorize interface classes along with the proxy list or there is a way to map proxy to its implementing interfaces, likewise Proxy.getInvocationHandler(proxy) does for handlers?</p>