/CFR-Eclipse

Decompiler plugin for Eclipse based on the CFR Decompiler

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

CFR-Eclipse

CFR-Eclipse, a Java decompiler plug-in for the Eclipse platform.

Description

CFR-Eclipse is an Eclipse plug-in that allows you to view decompiled sources of classes that don't have source attached.

This plugin uses the Java decompiler CFR by Lee Benfield (see http://www.benf.org/other/cfr/index.html).

CFR-Eclipse is based on the similar plugin JD-Eclipse by Emmanuel Dupuy (see https://github.com/java-decompiler/jd-eclipse)

How to build CFR-Eclipse ?

With Eclipse:

  • Download dependencies
> ./gradlew downloadDependencies
  • Launch Eclipse
  • Import the 3 "Existing Projects into Workspace" by selecting the parent project folder
  • Export "Deployable features"
  • Copy "site.xml" to the destination directory

How to install CFR-Eclipse ?

  1. Launch Eclipse
  2. Click on "Help > Install New Software..."
  3. Click on button "Add..." to add a new repository
  4. Enter "CFR-Eclipse" as name and "http://taico.nl/cfr-eclipse/update" as location
  5. Select "CFR-Eclipse" from the drop down menu
  6. Check "CFR Eclipse Plug-in"
  7. Next, next, next... and restart

How to check the file associations ?

Click on "Window > Preferences > General > Editors > File Associations"

  • "*.class" : Eclipse "Class File Viewer" is selected by default.
  • "*.class without source" : "CFR Class File Viewer" is selected by default.

How to configure CFR-Eclipse ?

Click on "Window > Preferences > Java > Decompiler"

How to uninstall CFR-Eclipse ?

  1. Click on "Help > About Eclipse > Installation Details",
  2. Select "CFR-Eclipse Plug-in",
  3. Click on "Uninstall...".

Changelog

1.1.132 (2018-08-12)

  • Update CFR to version 0_132 and updated settings accordingly
  • Added more debug info possibilities
  • Fixed some bugs by using jarfilter
  • Added CFR version to version number

1.0.5
Update CFR to version 0_115

1.0.4
Fix library issues

1.0.3
Update CFR to version 0_114

1.0.2
Bugfixes

1.0.1
Added settings panel

1.0.0
Initial release