An Eclipse Plugin to integrate different Class Decompiler seamlessly into the development workflow
Switch branches/tags
Clone or download
#45 Compare This branch is 88 commits ahead of cpupk:master.
Permalink
Failed to load latest commit information.
doc Renamed Plugin to "Enhanced Class Decompiler" Sep 1, 2017
org.sf.feeling.decompiler.cfr.feature Updated versions to be consistently 3.1.0.SNAPSHOT. Jun 28, 2018
org.sf.feeling.decompiler.cfr Updated versions to be consistently 3.1.0.SNAPSHOT. Jun 28, 2018
org.sf.feeling.decompiler.feature Updated versions to be consistently 3.1.0.SNAPSHOT. Jun 28, 2018
org.sf.feeling.decompiler.jad.feature Updated versions to be consistently 3.1.0.SNAPSHOT. Jun 28, 2018
org.sf.feeling.decompiler.jad Updated versions to be consistently 3.1.0.SNAPSHOT. Jun 28, 2018
org.sf.feeling.decompiler.jd.feature Updated versions to be consistently 3.1.0.SNAPSHOT. Jun 28, 2018
org.sf.feeling.decompiler.jd Updated versions to be consistently 3.1.0.SNAPSHOT. Jun 28, 2018
org.sf.feeling.decompiler.procyon.feature Updated versions to be consistently 3.1.0.SNAPSHOT. Jun 28, 2018
org.sf.feeling.decompiler.procyon Updated versions to be consistently 3.1.0.SNAPSHOT. Jun 28, 2018
org.sf.feeling.decompiler.source.attach Updated versions to be consistently 3.1.0.SNAPSHOT. Jun 28, 2018
org.sf.feeling.decompiler.source.feature Updated versions to be consistently 3.1.0.SNAPSHOT. Jun 28, 2018
org.sf.feeling.decompiler #37 Fixed that plugin would not compile under Photon. Jun 28, 2018
.gitignore Removed and ignored build directories. Jun 28, 2018
AUDIT.md Added more lib sources to audit file Jun 15, 2018
LICENSE Restored proper README and added missing LICENSE file Aug 29, 2017
README.md Added changelog for 3.1.0. Jul 2, 2018
_config.yml Set theme jekyll-theme-hacker Sep 1, 2017
build.sh Added build script. Jun 28, 2018
pom.xml Updated versions to be consistently 3.1.0.SNAPSHOT. Jun 28, 2018
update-version.sh Added a script for updating the version. Jun 28, 2018

README.md

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.

Description

Enhanced Class Decompiler is a plug-in for the Eclipse platform. It integrates JD, Jad, FernFlower, CFR, Procyon seamlessly with Eclipse, allows you to display all the Java sources during your debugging process, even if you do not have them all, and you can debug these class files without source code directly.

Why is this plug-in "enhanced"?

This is an ad-free fork of the Eclipse Decompiler Plugin. So we enhanced it by removing all code which might compromise your privacy or security (to the best of our knowledge).

How to install Enhanced Class Decompiler?

Drag and Drop installation: Drag to your running Eclipse workspace.

If you have currently the "Eclipse" Class Decompiler installed, it is recommended to uninstall that plug-in first and remove the corresponding update site from your Eclipse installation.

  1. Launch Eclipse,
  2. Click on "Help > Install New Software...",
  3. Click on button "Add..." to add an new repository,
  4. Enter name as "Enhanced Class Decompiler Update Site" and enter location as "https://ecd-plugin.github.io/update", then click on button "OK",
  5. Check "Enhanced Class Decompiler",
  6. Next, next, next... and restart.

How to check the file associations?

  1. Click on "Window > Preferences > General > Editors > File Associations"
  2. "*.class" : "Class Decompiler Viewer" is selected by default.
  3. "*.class without source" : "Class Decompiler Viewer" is selected by default.

How to configure Enhanced Class Decompiler?

  1. Click on "Window > Preferences > Java > Decompiler"

How to uninstall Enhanced Class Decompiler?

  1. Click on "Help > About Eclipse > Installation Details > Installation Software",
  2. Select "Enhanced Class Decompiler",
  3. Click on "Uninstall...".

How to build from source?

If you want to test the latest features of this plugin, you have to build it from source. For this, proceed as following:

  1. Clone this project
  2. Clone https://github.com/ecd-plugin/update next to this project
  3. Run mvn clean package

If you want to use Eclipse and help developing, continue like this:

  1. Install Eclipse for RCP and RAP Developers
  2. Import all projects into Eclipse by selecting File > Import > General > Existing Projects into Workspace > Next and enter the parent of the cloned directory as "root directory".
  3. Open the org.sf.feeling.decompiler.updatesite project in the Package Explorer
  4. Open the file site.xml within the project
  5. Press "Build All"
  6. Copy the jar files generated in the build/features and build/plugins folder of the project into the correspondent folders of your normal Eclipse installation.

Licenses

The main plugin and the org.sf.feeling.decompiler.jd project are licensed under GPL 3, the other feature plugins are licensed under the Eclipse Public License v1.0

Code partially based on:

Used libraries:

Contributors

Changelog

  • Version 3.1.0

    • Updated Embedded Decompilers
      • CFR to version 0_130
    • Verified and updated embedded decompilers
    • Fixed that activating a tab with a decompiled source would reset the selected line location
    • Fixed and tested compatibility with Eclipse Photon
    • Tested compatibility with JDK11.
  • Version 3.0.0

    • Removed adware code fragments
    • Removed self-update feature (Eclipse handles updates fine)
    • Removed extra-header in code (Issue upstream#2)
    • Display information about class being decompiled in editor title (Issue #3)
    • Made plug-in work with Java9 BETA JDT core