When we look at the jar source code, the general is to install a Jd-gui, the jar is copied out, and then open the jar from the Jd-gui to view the source code, this process is a bit troublesome, of course, the quick view of this article is not a high-tech approach, but the Jd-gui integration in Eclipse, You can then open the class directly in Eclipse, which will not only be easy to operate but also save a lot of time, specific steps:
Download plugin: Jd-eclipse-site-1.0.0-rc2.zip
Open Eclipse-->help-->install New Software:
Name in the Name box, then click the Archive button, select the downloaded plugin, then click OK:
, check the plugin (because I am already installed, so the display style is not the same), the following checkbox is not checked, directly next-->finish.
OK, find a jar package, directly open the class file under test:
Alternatively, you can also click CTRL + left mouse button in your Java file to view the source code by clicking on the parent class (SDK) you inherited:
Activity Source:
How to quickly view the class source in a jar package in eclipse