Eclipse Anti-compilation

Source: Internet
Author: User

Work, study often want to see a class of source code is how to write. But this is usually the case when you open it.

Just work with the Eclipse Luna version, at that time searched for some anti-compilation plug-ins and use method, unfortunately did not succeed, impatient gas mania did not seriously solve directly to ask colleagues next to.

Colleague guided One method: 1. Find the source code (. java file) that introduced the JAR package

2, into the package to join the project

3. Complete

Because it is just work to see the source code is not too much (main strength not, look at the head big)

Now a little like to see how he really realized, so the way before a little trivial too much trouble, want to find once and for all.

Then slowly find the right way, and finally find a new way one or two.

Here are some of the summaries that have been obtained from the reading of the great God-sent articles on the Internet:

(i) Ecplise version prior to Luna (refer to http://www.cnblogs.com/java-class/p/4279261.html)

1. Copy the Net.sf.jadclipse_3.3.0.jar to the plugins directory of Eclipse, 2. Delete Eclipse's configuration directory Org.eclipse.update (record Eclipse feature ID, relative path, version number information)File, restart Eclipse;3, set the executable path to Jad, and the resulting temporary file path; 4, set *.classFile type default open with 5, set *.class without sourceFile type open mode, click the Add Add button under Associate Editors bar, add jadclipse Class File Viewer and set as default; (ii) Luna later ecplise version
eclipse4.x above version with the original jadclipse add Jad.exe way is no longer available,
New version Org.sf.feeling.decompiler_1.0.3.zip.
This version is available in Eclipse4.4 under pro-Test.
Installation method: After extracting the downloaded compressed files, copy the plugins and features folders into the Dropins folder under Eclipse's installation directory, and no additional jad.exe is required. can also be installed by means of link
(There seems to be no way to add attachments--!) )
After you restart Eclipse, you'll see something new coming up.



This completes the anti-compilation work for Eclipse.

Eclipse Anti-compilation

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.