我正在使用 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/