假设我有
class A{}
class B extends A{}
class C extends A{}
class D extends C{}
class E extends B{}
我有以下代码
Reflections reflections = new Reflections();
Set<Class<? extends A>> classes = reflections.getSubTypesOf(A.class);
该集合将classes
包含类D
和E
???