NetBeans 生成的 javadoc 中缺少字段描述
我正在使用 NetBeans 7.0.1,并且正在尝试为我的项目之一生成 javadoc。
我通过右键单击项目 -> 尝试了这两种方法生成 Javadoc 并通过 Run ->生成 Javadoc。我设法创建了以下 javadoc 部分:
- 构造函数摘要
- 方法摘要
- 构造函数详细信息
- 方法详细信息
,但不是:
- 字段摘要
- 归档详细信息
如何通过注释、注释或仅通过配置来指示 IDE 来添加这些内容?
I'm using NetBeans 7.0.1 and I'm trying to generate the javadocs for one of my projects.
I tried both by right clicking the project -> Generate Javadoc and by Run -> Generate Javadoc. I managed to create the following javadocs sections:
- Constructor Summary
- Method Summary
- Constructor Detail
- Method Detail
but not the:
- Field Summary
- Filed Detail
How can I instruct the IDE with annotations, comments, or just through configuration to add that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“字段摘要”是由 javadoc 使用字段的第一个句子创建的。
应为公共字段自动生成字段文档。要为私有字段和受保护字段生成文档,有一个复选框选项可将它们包含在项目的构建/文档属性中。
The "field summary" is created by javadoc using the first sentences of fields.
Field documentation should be generated automatically for public fields. To generate documentation for private and protected fields there's a checkbox option to include them in the project's Build/Documenting properties.