posted 21 years ago
Hi. I'm working on some code, and we're looking for all interfaces implemented by a class, including direct implementation, implementation by superclasses, and the parents interfaces of those implemented directly.
That is, assume class A extends class B and implements interface C. Class B implements interface D, which extends E.
We'd like to do a search on interfaces for class A which would return C, D, and E.
A.class.getInterfaces returns only C. Any thoughts?