android studio 字节码查看工具jclasslib bytecode viewer 朱雀 2024-04-17 06:20 13阅读 0赞 jclasslib bytecode viewer 是一款非常好用的.class文件查看工具; jclasslib bytecode editor is a tool that visualizes all aspects of compiled Java class files and the contained bytecode. Many aspects of class files can be edited in the UI. In addition, it contains a library that enables developers to read and write Java class files and bytecode. github地址: [GitHub - ingokegel/jclasslib: jclasslib bytecode editor is a tool that visualizes all aspects of compiled Java class files and the contained bytecode.][GitHub - ingokegel_jclasslib_ jclasslib bytecode editor is a tool that visualizes all aspects of compiled Java class files and the contained bytecode.] 可以下载软件安装使用,也可以直接在Android Studio 或者 IntelliJ IDEA中安装插件使用; 介绍下Android Studio中安装插件使用的方法吧: 首先,进入到下载插件的界面,windows 和 mac有一点点区别; ![f9a00c9be6b14556a839253376985aae.png][] 其次,输入jclasslib bytecode viewer,搜索到这个插件安装好,然后apply \------ ok ; ![91abe0f9a6fe46668147c55df671f9e2.png][] 这样就安装好了,接着去项目中,选中目标Java文件,然后 View \----- Show Bytecode with Jclasslib, 注意:需要提前编译Java文件为.class文件哟,可以Rebuild Project; 如图: ![cf599541ab1c4305a0908697e438c806.png][] 然后就呈现出了这个Java类对应的.class的信息,如图: ![f747f2ebe4c5460bb8c05ecf0be67dd4.png][] 还可以对.class信息进行编辑; 好了,又可以愉快玩耍了。 [GitHub - ingokegel_jclasslib_ jclasslib bytecode editor is a tool that visualizes all aspects of compiled Java class files and the contained bytecode.]: https://github.com/ingokegel/jclasslib [f9a00c9be6b14556a839253376985aae.png]: https://image.dandelioncloud.cn/pgy_files/images/2024/04/15/7d02c7f518294ca385bd0c86b6b6826b.png [91abe0f9a6fe46668147c55df671f9e2.png]: https://image.dandelioncloud.cn/pgy_files/images/2024/04/15/b1df2edd7b5b4e9d9e1fbe62ed90e90e.png [cf599541ab1c4305a0908697e438c806.png]: https://image.dandelioncloud.cn/pgy_files/images/2024/04/15/9475d48df0714b12acb2107980350eab.png [f747f2ebe4c5460bb8c05ecf0be67dd4.png]: https://image.dandelioncloud.cn/pgy_files/images/2024/04/15/353334ae48dd400ab98b755e82bb7ba5.png
还没有评论,来说两句吧...