in reply to Finding the interface implemented by an object

You may need to use traits to have access to a mechanism similar to Java's reflexion. See here for more details.

Hope this helps!

  • Comment on Re: Finding the interface implemented by an object