java - 如何获取 Eclipse DOM 插件开发类的 Javadocs?

标签 java eclipse eclipse-plugin javadoc

我正在使用 Eclipse DOM 类在 Eclipse 中编写 Java 插件。我想查看这些类的 Javadoc,但我无法这样做。例如,当我为 org.eclipse.jdt.core.dom.CompilationUnit 类中的方法 recordModifications() 请求 javadoc 时,我收到一条消息:

The documentation location for 'recordModifications()' has not been configured. For elements from libraries specify the Javadoc location URL on the properties page of the parent JAR ('/Applications/eclipse/plugins/org.eclipse.jdt.core_3.6.1.v_A68_R36x.jar').

但是,当我转到 JAR 的属性时,它显示:

Javadoc location. The current class path entry belongs to container 'Plug-in Dependencies' which does not allow user modifications to Javadoc locations on its entires.

有什么建议吗?

最佳答案

我认为你应该做的是安装 eclipse 源。
通过 Help->Install new software...-> 选择 Eclipse project updates 更新站点来完成。选择 Eclipse 插件开发者资源。
消息来源应该在那里。
从源代码中,您还可以看到 javadoc。

关于java - 如何获取 Eclipse DOM 插件开发类的 Javadocs?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4198550/

相关文章:

java - 使用 java eclipse 执行 Jython 脚本

java - 添加导航按钮到 map

java - 为 Eclipse 插件开发新视角时如何摆脱大纲 View ?

android - Eclipse 无法安装 Genymotion 插件问题

git - EGit 显示目录总是脏的

java - 如何创建 eclipse 插件?

java - WS 客户端中的许多 TIME_WAIT 连接

java - 将 Hashmap 访问到 XSL 时出现问题

java - Jnlp 错误 : Could not find main class

java - 使用 SnakeYAML 从不受信任的来源加载 YAML 文件时会发生什么?