Re: getting all the interfaces for a class

Rémi Forax <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
  Le 15/10/2010 09:23, Rajaraman Santhanam a écrit :
> I would like to know the best solution to find out all the classes 
> that implement an interface either directly or indirectly (by 
> implementing the super interface of that interface or extending a 
> class that implements that interface).
>
> One way is the ClassFileTransformer implementation should keep track 
> of the interfaces extending that interface and class that implements 
> that interface.  Any easier solution to achieve this?

There is no simple solution.

I suppose you want only loaded classes not all existing classes 
(whatever it means).
You can also use Instrumentation.*getAllLoadedClasses*()

> thanks,
> ramanr

Rémi
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.