如何获取Eclipse DOM插件开发类的Javadocs?
我正在 Eclipse 中编写一个 Java 插件,该插件利用 Eclipse DOM 类。我想查看这些类的 Javadocs,但我无法这样做。例如,当我请求 org.eclipse.jdt.core.dom.CompilationUnit
类中的 recordModifications()
方法的 javadocs 时,我收到一条消息:
尚未配置“recordModifications()”的文档位置。对于库中的元素,请在父 JAR 的属性页上指定 Javadoc 位置 URL(“/Applications/eclipse/plugins/org.eclipse.jdt.core_3.6.1.v_A68_R36x.jar”)。
但是,当我转到 JAR 的属性时,它显示:
Javadoc 位置。当前类路径条目属于容器“插件依赖项”,该容器不允许用户修改整个 Javadoc 位置。
有什么建议吗?
I am writing a plug-in for Java in Eclipse that utilizes the Eclipse DOM classes. I would like to see Javadocs for these classes but I am unable to do so. For example, when I request javadocs for the method recordModifications()
in class org.eclipse.jdt.core.dom.CompilationUnit
, I get a message that says:
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').
However, when I go to the properities for the JAR, it says:
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.
Any advice?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为你应该做的是安装 Eclipse 源。
通过“帮助”->“安装新软件...->”来完成此操作选择Eclipse项目更新更新站点。选择 Eclipse 插件开发者资源。
来源应该在那里。
从源代码中您还可以看到 javadocs。
I think what you should do is install the eclipse sources.
do it by Help->Install new software...-> select Eclipse project updates update site. select eclipse plugin developer resources.
the sources suppose to be there.
from the sources you will be able to see also javadocs.