工具:
eclipse
方法:
以String为例,ctrl+鼠标左键点击String
点击Change Attached Source,选择第二个“External location”,path选择安装时源码路径,好击OK.
如下图所示,就打开了该类的源码