有没有办法找出一个类有哪些导入?
在 this问题:Jon Skeet 说你不能使用反射来做到这一点,但是
If you want to find all the types used within the compiled code, that's a slightly different matter. You may want to look at BCEL as a way of analyzing bytecode.
这就是我想知道该怎么做。
最佳答案
关于Java 找出 .class 有哪些导入,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11548765/