Java Decompiler

Yet another fast Java decompiler

Realignment fragment for JD-Eclipse host plug-in

Hi

I have developed the plug-in fragment which adds in JD-Eclipse an ability of realignment of a decompiler output. To use this feature it is necessary to open the menu

Preferences/General/Editors/File Associations and to select "*.class" file type and to choose "Realignment for JD Class File Editor" for Associated editors. Other ability is

batch decompiling of files of classes. To use this feature it is necessary to open the menu Preferences/Java/Decompiler/Batch Decompiling and click button "Open dialog".

Installation:
Put a file realignment.jd.ide.eclipse_1.0.0.jar in eclipse/plugins directory.

Download realignment.jd.ide.eclipse_1.0.0.jar

Status: 
Implemented

23 comments:

Patch for JD-Eclipse
03/1/2010 - 21:39
Hello Alex,
Excellent, you did it ! I test your JAR and I publish it.
Best regards.
Realignment patch for JD-Eclipse
03/1/2010 - 22:55
Perfect : it works.
A first feedback : during my first test of "Batch Decompiling", I choose an inexisting output folder (oops), the CPU usage has gone to 100% ... Except this point, it's ok.
Create a fragment for this patch is clever, I find.
I publish it on the home page.
Thank you again.
CPU overloading correction
03/3/2010 - 08:45

.

CPU overloading correction
10/7/2010 - 06:44
Hello Emmanuel, Here is a correction which remove a CPU overloading: Download realignment.jd.ide.eclipse_1.0.1.jar http://java.decompiler.free.fr/jd-eclipse/ downloads/realignment.jd.ide.eclipse_1.0.1.jar Best regards.
I have try this plugin 1.0.1
03/8/2010 - 10:17

I have try this plugin 1.0.1 and it doesn't work completely.
Using two tested .class opened it realigns only rows after 51 (before no) and for the second example only after row 120.

Class come from a commercial jar, without debug simbols and maybe obfuscation.

existing limitation
03/9/2010 - 13:26

Existing limitation: the realignment is performed only for the methods. To work properly it is necessary that the property "Display line numbers" in menu "Preferences/Java/Decompiler" was active.

Excellent
05/20/2010 - 15:55

The batch compiling works perfectly for me. The line numbers are now correct for debugging. Important note, the output folder must exist, otherwise, clicking on the OK button does nothing.

On the other hand, these instructions that you posted do not work for me:

Preferences/General/Editors/File Associations and to select "*.class" file type and to choose "Realignment for JD Class File Editor" for Associated editors.

"Realignment for JD Class File Editor" does not show up in the list of editors.

Thanks for your efforts!

Editor name not appearing in .class editors
05/13/2011 - 01:06

I had the same issue, since I am using Eclipse 3.3.
open the realignment.jd.ide.eclipse_1.0.1.jar and edit the line:
<?eclipse version="3.4"?>

Change it to a previous verion, like this (I put the same as the fragment.xml from Jd-eclipse):
<?eclipse version="3.2"?>

Regards,

decompiling with realignmnet casuese Eclipse to crash!
06/11/2010 - 04:26

Excellent plugin ...we are using it here at work. Both features (batch/real) mode are great. Lately we are experiencing a problem such that Eeclipse crashes after stepping through the code! An error is reported in the logs. It appears it crashes out side the VM. Any idea! or some one here experienced such behavior.

When the next release for the plugin ?

Thanks

re
08/3/2010 - 10:19

I have read your article for a several times and I was impressed by it! It was very interesting so I shared it with my friends. Hope they will like it too.
Dog obedience training tips it our new project about dog trainings.

I am going to download
08/16/2010 - 13:34

I am going to download realignment.jd.ide.eclipse_1.0.0.jar now and will install it as you told by putting it in eclipse/plugins directory. I really liked your add-on that adds in JD-Eclipse an ability of realignment of a decompiler output. The steps to be performed in order to use this plugin are also provided in this post. I liked all its features of order fulfillment described in this post and I will suggest this plugin to my friends too.

where is the download
09/7/2010 - 04:11

where is the download site?...

Download Realignment Plugin
09/12/2010 - 16:32

http://java.decompiler.free.fr/jd-eclipse/downloads/realignment.jd.ide.e...

Integration with JD-Eclipse?
10/10/2010 - 22:11

This is really useful - are you going to integrate it with the main JD-Eclipse plugin so I don't have to install it manually every time? Thanks -

Nick

plugin does not show up
12/1/2010 - 12:48

I have copied the jar (tried both 1.0.0 and 1.0.1) into the plugins folder and restarted eclipse (3.4). it does not show up. What am I doing wrong?

download problem
03/24/2011 - 14:28

I can't download realignment.jd.ide.eclipse_1.0.0.jar, what's the problem?

realignment.jd.ide.eclipse_1.0.1.jar
03/24/2011 - 19:35

Hello,

Why do not try the version 1.0.1 ?

http://java.decompiler.free.fr/jd-eclipse/ downloads/realignment.jd.ide.eclipse_1.0.1.jar

Regards.

I tried that one, but I still
03/25/2011 - 13:34

I tried that one, but I still can't download it. Could you please send it to me? My email is wubojie@gmail.com. Thanks a lot.

Excelent extension
05/13/2011 - 01:08

Excelent extension!
I still did not use it for debugging, but I'm going to try it in 30 minutes :)

Thanks a lot mate!

New version realignment.jd.ide.eclipse_1.0.2.jar
08/11/2011 - 14:37

New version realignment.jd.ide.eclipse_1.0.2.jar - https://sourceforge.net/projects/realignmentjd/files/

Geld verdienen
12/27/2011 - 16:13

Durch das macht nichts Sprachkenntnis beruecksichtigen humanitaer bewahrt duempeln und ganze Zahl neunzig tun das geld verdienen uns Doktorand.

Not working for me
05/22/2012 - 19:33

I downloaded version 1.0.2. I selected to display line numbers, selected the Realignment plugin as the default .class file handler and removed all others (except one, which was "locked"). When I open a .class file, it shows the same mis-alignment as shown by JD-Eclipse without realignment. In addition, when I try to use the batch alignment dialog, I can't exit the dialog after filling in the blanks for output zip file and path, even though the folder exists. No error message appears, but the dialog stays open. I have to click "Cancel" to dismiss the dialog. Any ideas? Platform is RAD 8.0.4, which uses the Eclipse 3.6 core.

Now partly working for me
05/22/2012 - 20:46

The realignment feature is actually mostly working, contrary to my post above. The class file I was looking at continues to be misaligned, but all others appear to be aligned very nicely. (Awesome!)

The batch feature still doesn't appear to do anything, however, and I get the same behavior as I described above.