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