How do I get the underlying type of a proxy object in java? -


i'd access classname of underlying class instance of java.lang.reflect.proxy.

is possible?

you can invocationhandler proxy created, calling proxy.getinvocationhandler(proxy)

note in case of java.lang.reflect.proxy there no underlying class per se. proxy defined by:

  • interface(s)
  • invocation handler

and wrapped class passed concrete invocation handler.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -