jar包反编译工具(java-decompiler)
jar包反编译工具(java-decompiler)
1.jd-gui
下载地址:http://java-decompiler.github.io/
优点:反编译的源代码基本符合,没有乱七八糟新增的修饰符。
缺点:反编译过程耗时较长(50MB需要10分钟左右)无法还原内部类。
导出源代码:点击file -> Save All Sources按钮进行导出。
2.Luyten
下载地址:https://github.com/deathmarine/Luyten/releases/tag/v0.5.4_Rebuilt_with_Latest_depenencies
优点:反编译过程耗时短(50MB需要几秒)
缺点:反编译的源代码有大量final修饰符
3.Jadx
下载地址:https://github.com/skylot/jadx/releases
优点:反编译过程耗时短(50MB需要几十秒)
反编译的源代码基本符合,可以还原内部类。