Javadoc 与代码不匹配

发布于 2024-12-14 00:15:49 字数 105 浏览 4 评论 0原文

在重构时,我通过删除参数等弄乱了一些 Javadoc 注释...

Eclipse 中是否有一些工具可以查找代码和 Javadoc 注释之间的不匹配之处?

While refactoring, I messed up some of my Javadoc annotations through removing parameters, etc...

Is there some tool in Eclipse to find mismatches between the code and the Javadoc annotations?

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

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

发布评论

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

评论(1

飘然心甜 2024-12-21 00:15:49

如果您进入一般或特定项目的编译器选项,请进入 Javadoc 首选项,您可以告诉编译器针对 Javadoc 的各种问题添加警告或错误。

If you go to the compiler options either in general or for your specific project, go into the Javadoc preferences and you can tell the compiler to add warnings or errors for various problems with the Javadoc.

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