Possible Duplicate:
How do you find all subclasses of a given class in Java?
I am trying to get the sub class name list, if we know super class. I tried through reflection. Seems to be there is no API to get the sub class name list.
public abstract class Base{
/* method implmentation */
}
public class A1 extends Base{
/* method implmentation */
}
public class A2 extends Base{
/* method implmentation */
}
How to get sub classes names if we know abstract class name "Base"?
Thanks in advance