Javadoc @see 包信息中的标签

发布于 2025-01-08 16:03:54 字数 160 浏览 1 评论 0原文

我们正在开发一个类项目并使用 Javadocs 来记录我们的包。 package-info.java 文件用于顶级包文档,但我们似乎无法使用任何 @see 标签来引用其他类。 Javadoc 将不断地给出所有这些的“未找到引用”错误。为了使引用发挥作用,必须做些什么?我们已经尝试导入引用的类,但没有成功。

We're working on a class project and using Javadocs to document our packages. package-info.java files are being used for the top-level package documentation, but we can't seem to use any @see tags to refer to other classes. Javadoc will constantly give 'reference not found' errors for all of them. Is there anything that must be done in order for the references to work? We already tried importing the referenced classes but that didn't work.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

兮颜 2025-01-15 16:03:55

您必须使用完整的类名,包括包说明符。

@see com.stackoverflow.AwesomeClass

请参阅 Javadoc 规范

You have to use the full class name, including the package specifier.

@see com.stackoverflow.AwesomeClass

See Javadoc spec

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文