第一种方法:jclasslib插件
github地址:https://github.com/ingokegel/jclasslib
第二种方法:使用jdk自带的javap.exe
- settings>>>tools>>>external tools>>>+>>>name:showByteCode;program选择:javap.exe路径;arguments:-c F i l e N a m e W i t h o u t E x t e n s i o n FileNameWithoutExtension FileNameWithoutExtension.class;working directory: O u t p u t P a t h OutputPath OutputPath$FileDirRelativeToSourcepath$;
- restart idea
- choose editor region>>>right click>>>externals tools >>> showByteCode;