Eclipse Class Decompiler--java anti-compile plugin

Source: Internet
Author: User

In my spare time, I wrote a Java anti-compilation plugin under Eclipse: Eclipse Class Decompiler, which integrates the best 2 Java anti-compilation tools, Jad and Jd-core, and the Eclipse class Viewer seamless integration, it is easy to use this plugin to view the library source code, and the use of this plugin for debug debugging.

Eclipse Class decompiler plugin update site:http://feeling.sourceforge.net/update

Offline installation package one: Http://feeling.sourceforge.net/downloads/org.sf.feeling.decompiler_1.0.3.zip
Offline installation package II: Http://www.blogjava.net/Files/cnfree/org.sf.feeling.decompiler_1.0.3.zip

This plugin only supports WINDOWS,LINUX,MACOSX operating systems.

update directly with Eclipse, support Eclipse 3.x, 4.x, do not rely on any other plugins, directly check the update plugin.

Many friends ask whether there is an English version, actually create a shortcut to eclipse, plus the-nl en_us parameter, all the plugins will automatically appear in English, including the Eclipse Class Decompiler plugin.




for the Eclipse Class decompiler Preferences page, you can select the default anti-compiler tool and perform the basic anti-compiler settings. The default anti-compilation tool is more advanced for Jd-core,jd-core, which supports new syntax such as generics, enums, annotations, and so on JDK1.5.


Preferences configuration options:
1. Reuse the Cache code: it will only be recompiled once, and each time the class file is opened, the cached anti-compilation code is displayed.
2. Ignore the existing source code: If unchecked, see if the class file is bound to the Java source, if it is bound, display the Java source code, if not bound, then decompile the class file. If checked, the bundled Java source code is ignored and the results of the decompile are displayed.
3. Display the Anti-compiler report: Displays the data report and exception information generated by the anti-compiler after decompile.
4. Use the Eclipse Code formatting tool: Use the Eclipse formatting tool to reformat the anti-compilation results, which can take some time to decompile the entire jar package.
5. Use the Eclipse member sort: Use the Eclipse member sort to reformat the results of the disassembly and to decompile the entire jar package, this operation consumes a lot of time.
6. Output the original line number information in an annotated manner: If the class file contains the original line number information, the line number information is printed to the anti-compilation results in a commented manner.
7. Aligning code to facilitate debugging based on line number: If selected, the plugin uses the AST tool to parse the results of the disassembly and adjust the order of the code according to the line number information to facilitate single-step tracking debugging during the debug process.
8. Set the class anti-compilation viewer as the default class file editor: By default, the class viewer is ignored, and each time eclipse is launched, the class file is opened by default using the classes viewer provided by the plugin.


The plug-in provides a system menu, a toolbar that activates the menu and toolbar options when the plugin-provided class is turned on, and allows you to easily configure the preferences, toggle the Decompile tool to decompile, and export the anti-compilation results.






The class anti-compilation Viewer right-click menu contains all the options for the eclipse's own class viewer right-click menu and adds an export Decompile source menu item.




Open the project path under the class file, if you set the class anti-compilation viewer as the default viewer, directly double-click the class file, if not set as the default viewer, you can use the right-click menu to view.




The Eclipse Class Decompiler plugin also provides anti-compilation of the entire JAR file or Java package. This operation supports the Package Explorer's action on the display layout of packages, and if it is a tiled mode layout, the exported source code does not contain child packages, and if it is a hierarchical mode layout, the selected package and all its child packages are exported.




Debug Debug: Can be selected in the preferences of the hyphenation number of single-step tracking debugging, and ordinary containing the source code when the debugging operation is exactly the same, you can also set breakpoints to track.


Eclipse Class Decompiler--java anti-compile plugin

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.