mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
CodeInsightUtil: tolerate classes with null names, whoever returns them as inheritors
GitOrigin-RevId: ae226266d6583c377c950db283d05c4524f965bc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a4ceedebd5
commit
9f94c65616
@@ -328,6 +328,7 @@ public class CodeInsightUtil {
|
||||
Query<PsiClass> baseQuery = ClassInheritorsSearch.search(baseClass, scope, true, true, false);
|
||||
Query<PsiClass> query = new FilteredQuery<>(baseQuery, psiClass ->
|
||||
!(psiClass instanceof PsiTypeParameter) &&
|
||||
psiClass.getName() != null &&
|
||||
ContainerUtil.exists(JavaCompletionUtil.getAllLookupStrings(psiClass), matcher::prefixMatches) &&
|
||||
!imported.contains(psiClass));
|
||||
query.forEach(inheritorsProcessor);
|
||||
|
||||
Reference in New Issue
Block a user