在这样的时候,反射对您来说就不再是一种行之有效的办法——反射将JV m类结构作为信息源使用,因此它仅对已由JVM装载的类起作用。
In these cases, reflection won't work for you — reflection USES the JVM's class structures as the source of information, so it can only work with classes that have been loaded by the JVM.
比较简单而且有效的方法就是找一些起作用的事去做,并且要多做这样的事。
The simpler and more effective way is to find the few things that are working and do more of that.
由于在成员项所包含的内容出现在较大型的结构之前,成员项必须是有效对象,所以最简单的递归继承方法不起作用。
Since member items need to be valid objects prior to their inclusion in larger structures, the simplest recursive descent approach would not work.
应用推荐