Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

个别情况下加了javadoc注释、再次检测仍会报缺少Javadoc注释问题 #649

Open
v1001001 opened this issue Mar 5, 2020 · 4 comments

Comments

@v1001001
Copy link

v1001001 commented Mar 5, 2020

规约原文

请详细描述方法【xxx】的功能与意图

问题描述

实际操作中发现一些情况下即使加了Javadoc注释,依然会报这个问题;一个比较明显的是方法上有 诸如@RequestMapping等注解的时候,缺少注释的提示会存在,测试删掉@注解 可以正常检测通过。

修改建议

对于@开通的注解查找的时候应该忽略 继续往上层去找;还要考虑下多个@注解同时存在的场景。

@v1001001
Copy link
Author

v1001001 commented Mar 6, 2020

image
image
规约版本2.0.1 idea版本2019.2 jdk1.8.0_191
这种情况偶尔会出现 甚至没有@注解的也会出现。。。

@SeanCai
Copy link
Contributor

SeanCai commented Apr 19, 2020

@kerie 看看

@kerie
Copy link
Contributor

kerie commented Dec 27, 2021

@SeanCai 这个估计得你看下,是不是IDE缓存的问题

@XenoAmess
Copy link

@SeanCai 这个估计得你看下,是不是IDE缓存的问题

那就执行操作前 强制flush一波所有文件缓存?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants