从字节码获取调用层次结构(在 Eclipse 中)
我有来自外部库的 Java 字节码(而且只有字节码!)。没有可用的来源。该库的某些类具有公共或包本地字段。我怎样才能知道这个字段是否被使用?对于公共方法也是同样的问题。
I have the Java byte-code from an external library (and only the byte-code!). There is no source available. Some classes of this library have public or package-local fields. How can I find out were this fields are used? The same question for public methods.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会使用像 jd-gui 这样的工具来获取某些版本的源代码,并将它们附加到库中然后您应该能够在其上使用 call-hierarchy 函数。
I would use a tool like jd-gui to get some version of the sources, attached them to the library and then you should be able to use the call-hierarchy function on it.