Eclipse installs the anti-compile plugin

Source: Internet
Author: User

in the process of developing with Eclipse tools or MyEclipse tools, especially when it comes to web development, many jar packages are used, but not all jar packages have their own source code, and many times we want to see the source code of the jar. This time you need the anti-compilation tool, here is my own installation of the anti-compilation plugin in Eclipse some methods, I hope to be helpful.

Eclipse Class Decompiler is an eclipse plugin that integrates multiple anti-compilers and integrates seamlessly with the Eclipse Class viewer, making it easy to use plug-ins to view library source code for debug Debugging.

To enable the plugin to support the latest version of Eclipse, it is not available for offline installation and can only be installed through Eclipse marketplace.

1.help--Eclipse Marketplace

2. Enter decompiler or decompile to search and install the plugin

3. Here are several different anti-compilation tools of choice, can be selected, in use when you can switch, try different tools of the difference.

4. Click Accept, do not accept it can not continue, so it must be accepted.

5. Continue, of course.

6. Well, the anti-compilation plugin is ready to install, and restarting Eclipse is ready to use.

7. Review the setup options after the anti-compilation plug-in installation is complete.

8. The following is the first page of the anti-compilation plug-in preferences, you can choose the default anti-compilation plug-in and the basic settings of the anti-compilation plug-in.

9. The default anti-compilation tool has the following types:

10. The preference configuration has the following meanings:

    • Reuse cache code: It is only deserialized once, and each time the class file is opened, the cached anti-compilation code is displayed.
    • Displays the anti-compiler report: Displays the data reports and exception information generated by the anti-compiler after decompile.
    • Use the Eclipse Code formatter tool: Use the Eclipse formatting tool to reformat the anti-compilation results, and when you decompile the entire jar package, This operation consumes some time.
    • sort using Eclipse members: Use Eclipse member sort to reformat the decompile results, This operation consumes a lot of time when you decompile the entire jar package.
    • outputs the original line number information in comments: 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.
    • aligning code based on line numbers to facilitate debugging: If selected, the plugin uses the AST tool to parse the results of the decompile and adjust the order of the code based on the line number information. To facilitate single-step tracking debugging in the debug process.
    • Sets the class anti-compilation viewer as the default class file editor: The default is checked, ignoring the eclipse's own class Viewer. Each time eclipse starts, the class file is opened by default using the classes viewer provided by this plugin.

11. Reference

http://blog.csdn.net/zzy7075/article/details/53037846

Well, the steps to install the anti-compile plugin in eclipse are over!

Eclipse installs the 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.