个别情况下加了javadoc注释、再次检测仍会报缺少Javadoc注释问题
Open
- Dominant language
- Kotlin
- Stars
- 30.9k
- Forks
- 8k
- PR merge metrics
- No merged PRs in 30d
Description
## 规约原文
请详细描述方法【xxx】的功能与意图
## 问题描述
实际操作中发现一些情况下即使加了Javadoc注释,依然会报这个问题;一个比较明显的是方法上有 诸如@RequestMapping等注解的时候,缺少注释的提示会存在,测试删掉@注解 可以正常检测通过。
## 修改建议
对于@开通的注解查找的时候应该忽略 继续往上层去找;还要考虑下多个@注解同时存在的场景。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the rule that reports missing Javadoc and reproduce the case with @RequestMapping and multiple annotations, comparing it with the same method without annotations. Done when annotated methods with valid Javadoc no longer report the violation while genuinely undocumented methods still do.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100