idea中擴展查看代碼編譯結果

第一種方法:jclasslib插件

github地址:https://github.com/ingokegel/jclasslib

第二種方法:使用jdk自帶的javap.exe

  1. settings>>>tools>>>external tools>>>+>>>name:showByteCode;program選擇:javap.exe路徑;arguments:-c FileNameWithoutExtensionFileNameWithoutExtension.class;working directory:OutputPathOutputPath$FileDirRelativeToSourcepath$;
  2. restart idea
  3. choose editor region>>>right click>>>externals tools >>> showByteCode;
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章