Minor warnings fixed

GitOrigin-RevId: 8e52edaa2770b151e52e754aca7095d97f7d80ec
This commit is contained in:
Tagir Valeev
2023-12-14 11:18:43 +01:00
committed by intellij-monorepo-bot
parent b804bc8bce
commit b262b8affe
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ public final class JavaMethodNameIndex extends StringStubIndexExtension<PsiMetho
return getMethods(methodName, project, scope);
}
public Collection<PsiMethod> getMethods(@NotNull final String methodName, @NotNull final Project project, @NotNull final GlobalSearchScope scope) {
public @NotNull Collection<PsiMethod> getMethods(@NotNull final String methodName, @NotNull final Project project, @NotNull final GlobalSearchScope scope) {
return StubIndex.getElements(getKey(), methodName, project, new JavaSourceFilterScope(scope), PsiMethod.class);
}
}