LoginSignup
9
9

More than 5 years have passed since last update.

Eclipse JAVA開発に便利プラグイン:Decompiler

Last updated at Posted at 2019-02-23

Eclipseにて、JAVAの開発はいろいろライブラリを使っております。
DebugなどライブラリのClassファイルの中身を入りたい場合、どうしたらよいかの問題があります。

方法1:ライブラリと同じバージョンのソースのZIPファイルをダウンロードして設定する
方法2:ClassファイルをDecompileするプラグインをインストールして中身を確認する
 Decompilerインストール方法:
 ・Help⇒Eclipse Marketplace⇒Findに「decompiler」を入力して検索する
 ・Enhanced Class Decompiler の右下にあるInstallボタンをクリック
    ※すでにインストール済みの場合は「Installed」

image.png

インストール後、JARファイルを開いて、クラスファイルをダブルクリックすると、中身が見えます。
ただし、Decompilerはいつくかのツールがありますので、Open Class Withで選択できます。
image.png

CFR: https://www.benf.org/other/cfr/
FernFlower: https://github.com/fesh0r/fernflower
JD: http://jd.benow.ca/
Procyon: https://bitbucket.org/mstrobel/procyon

以上

9
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
9