mardi 20 janvier 2015

How to find all interfaces in class that extends other classes with other interfaces using reflection in java

for example I have:


interface IA; interface IB;


public class B implements IB; public class A extends B implements IA;


how can I find in A.class all implemented interfaces in extended B.class too?, method Class getInterfaces() returns only interfaces in A class not in extended class






Aucun commentaire:

Enregistrer un commentaire