jar包反编译 idea

java -cp "D:\quan\install_work\idea2019\plugins\java-decompiler\lib\java-decompiler.jar" org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler -dgs=true D:\quan\install_work\apache-maven-3.5.0-lib\com\baomidou\mybatis-plus-generator\3.2.0\mybatis-plus-generator-3.2.0.jar D:\quan\install_work\apache-maven-3.5.0-lib\com\baomidou\mybatis-plus-generator\3.2.0\src

底层是使用fernflower实现的源码:https://github.com/fesh0r/fernflower

反编译class文件版本与所需jdk版本的对应关系:
49 = Java 5
50 = Java 6
51 = Java 7
52 = Java 8
53 = Java 9
54 = Java 10
55 = Java 11
56 = Java 12
57 = Java 13
58 = Java 14
59 = Java 15
60 = Java 16

posted @ 2022-08-17 08:05  tlblog  阅读(126)  评论(0编辑  收藏  举报