要转换文件,我们需要一个反编译器。使用CFT 反编译器,它可靠且易于使用,几乎支持所有JDK版本。
wget https://www.benf.org/other/cfr/cfr-0.144.jar
该网站的cfr的最新版本为0.155
java -jar cfr-0.144.jar your_class.class > out.java
[1]https://linuxh2o.com/how-to-decompile-a-class-file-into-a-java-file
原文:https://www.cnblogs.com/wowcl/p/15185482.html