问题
I'm referring to the jar with the Compiler Tree API, referred to here
It can be found here but not for download. Maybe I could download it from there with downthemall, but what are the alternatives?
回答1:
The Javadoc for the tree API comes with the official JDK documentation.
The JDK documentation can be downloaded from: http://www.oracle.com/technetwork/java/javase/downloads/index.html#docs
Inside the downloaded ZIP, look in /jdk/api/javac/tree directory.
回答2:
Prunge was right, but they have moved, and note that the javadocs are not in a separate jar. Currently, (Oct 2017) the javadocs for the Compiler Tree API are still included in the Javadoc API bundle from Oracle. Download and extract the zip. The path to the javadocs are under docs/jdk/api/javac/tree. In NetBeans, you can use that as the "folder" in the library settings javadoc tab.
来源:https://stackoverflow.com/questions/4517004/where-to-download-the-javadoc-for-tools-jar