Eclipse中安裝反編譯工具Fernflower的方法(Enhanced Class Decompiler)
IntelliJ IDEA一個吸引人的地方在于,他有比較好的反編譯工具,這讓Eclipse用戶牙癢癢。但不要緊,本文介紹如何在Eclipse IDE中使用IntelliJ IDEA的反編譯工具Fernflower。
為啥需要反編譯
很多jar不提供源碼,那么打開class是這個鳥樣。
不具備人類可讀性。因此需要反編譯。
什么是Fernflower
那么我是怎么知道Fernflower的呢?你隨便用IntelliJ IDEA打開一個jar中的class文件,可以看到下面的信息,這就是IEDA中的反編譯工具Fernflower。
看官網(wǎng)介紹Fernflower(https://github.com/JetBrains/intellij-community/tree/master/plugins/java-decompiler/engine)
Fernflower is the first actually working analytical decompiler for Java and probably for a high-level programming language in general
“Fernflower是第一個真正為Java工作分析反編譯器,通常也適用于一般的高級編程語言”
看介紹是很牛批的樣子,當(dāng)然實際也是。
如何獲取Fernflower
非常遺憾的是,F(xiàn)ernflower是IntelliJ IDEA獨(dú)家所有,那我是怎么搞定的呢?
我先在eclipse市場找了下,沒有找到Fernflower,卻找到了Enhanced Class Decompiler
看官網(wǎng)介紹(https://marketplace.eclipse.org/content/enhanced-class-decompiler)
Enhanced Class Decompiler integrates JD, Jad, FernFlower, CFR, Procyon seamlessly with Eclipse and allows Java developers to debug class files without source code directly. It also integrates with the eclipse class editor, m2e plugin, supports Javadoc, reference search, library source attaching, byte code view and the syntax of JDK8 lambda expression.
簡言之,Enhanced Class Decompiler集JD、Jad、FernFlower、CFR、Procyon等各種反編譯工具之大成。換言之,F(xiàn)ernFlower就是我Enhanced Class Decompiler的一個子集唄。
呵呵,好一招曲線救國。用Enhanced Class Decompiler變相用了FernFlower。
如何在Eclipse IDE中安裝Fernflower
1. 在線安裝
這是最簡單的方式。使用Eclipse的同學(xué)都懂。
安裝地址是: https://ecd-plugin.github.io/update
2. 離線安裝
獲取離線安裝包zip文件(見附件),在“Add Repository”中指定該zip文件即可。
3. 可選組件
一般就選Core就夠用了,不嫌多就全選上。
裝完重啟Eclipse就能看到這個工具了。
怎么使用Fernflower
右鍵class文件,使用如何在Eclipse IDE中安裝FernFlower打開即可
反編譯成功!看到廬山真面目了。
到此這篇關(guān)于Eclipse中安裝反編譯工具Fernflower的方法(Enhanced Class Decompiler)的文章就介紹到這了,更多相關(guān)Eclipse安裝反編譯工具Fernflower內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!
相關(guān)文章
詳解SpringBoot注冊Windows服務(wù)和啟動報錯的原因
這篇文章主要介紹了詳解SpringBoot注冊Windows服務(wù)和啟動報錯的原因,小編覺得挺不錯的,現(xiàn)在分享給大家,也給大家做個參考。一起跟隨小編過來看看吧2019-03-03java ssm框架實現(xiàn)分頁功能的示例代碼(oracle)
這篇文章主要介紹了java ssm框架實現(xiàn)分頁功能的示例代碼(oracle),小編覺得挺不錯的,現(xiàn)在分享給大家,也給大家做個參考。一起跟隨小編過來看看吧2018-03-03Myeclipse鏈接Oracle等數(shù)據(jù)庫時lo exception: The Network Adapter coul
今天小編就為大家分享一篇關(guān)于Myeclipse鏈接Oracle等數(shù)據(jù)庫時lo exception: The Network Adapter could not establish the connection,小編覺得內(nèi)容挺不錯的,現(xiàn)在分享給大家,具有很好的參考價值,需要的朋友一起跟隨小編來看看吧2019-03-03SpringBoot定時任務(wù)實現(xiàn)數(shù)據(jù)同步的方法
業(yè)務(wù)需求是,通過中臺調(diào)用api接口獲得,設(shè)備數(shù)據(jù),要求現(xiàn)實設(shè)備數(shù)據(jù)的同步,這篇文章主要介紹了SpringBoot定時任務(wù)實現(xiàn)數(shù)據(jù)同步的方法,文中示例代碼介紹的非常詳細(xì),具有一定的參考價值,感興趣的小伙伴們可以參考一下2022-08-08