android studio 字节码查看工具jclasslib bytecode viewer

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.

可以下载软件安装使用,也可以直接在Android Studio 或者 IntelliJ IDEA中安装插件使用;

介绍下Android Studio中安装插件使用的方法吧:

首先,进入到下载插件的界面,windows 和 mac有一点点区别;

 其次,输入jclasslib bytecode viewer,搜索到这个插件安装好,然后apply ------ ok ;

 这样就安装好了,接着去项目中,选中目标Java文件,然后 View -----  Show Bytecode with Jclasslib, 注意:需要提前编译Java文件为.class文件哟,可以Rebuild Project;

如图:

 然后就呈现出了这个Java类对应的.class的信息,如图:

 还可以对.class信息进行编辑;

好了,又可以愉快玩耍了。

猜你喜欢

转载自blog.csdn.net/msn465780/article/details/127834972