1.下载 Java SE Development Kit 8 Documentation .
2.启动Eclipse,Window-Preference-Java-Installed JREs:
3.定位到api文件夹:
4.光标定位到要查询的代码,‘F1’打开‘Help’: