从字节码获取调用层次结构(在 Eclipse 中)

发布于 2024-12-10 08:36:24 字数 91 浏览 1 评论 0原文

我有来自外部库的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

逆光下的微笑 2024-12-17 08:36:24

我会使用像 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文