generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
18 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,8 @@ public static List<String> queryFieldJavaDocByNameDirectly(WriteContext.PsiFileC | |
if (StringUtils.isBlank(elementName)) { | ||
return Lists.newArrayList(); | ||
} | ||
Collection<PsiField> psiFieldList = JavaFieldNameIndex.getInstance().getFields( | ||
// 后续改为使用这个方法:JavaFieldNameIndex#getFields | ||
Collection<PsiField> psiFieldList = JavaFieldNameIndex.getInstance().get( | ||
Check warning on line 37 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/util/CommentQueryUtils.java GitHub Actions / Qodana Community for JVMDeprecated API usage
|
||
elementName, | ||
psiFileContext.getProject(), | ||
GlobalSearchScope.projectScope(psiFileContext.getProject()) | ||
|