mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
EA-36658
This commit is contained in:
+5
-2
@@ -66,8 +66,11 @@ public class HighlightOverridingMethodsHandler extends HighlightUsagesHandlerBas
|
||||
if (containingClass == null) continue;
|
||||
for (PsiClass classToAnalyze : classes) {
|
||||
if (InheritanceUtil.isInheritorOrSelf(classToAnalyze, containingClass, true)) {
|
||||
addOccurrence(method.getNameIdentifier());
|
||||
break;
|
||||
PsiIdentifier identifier = method.getNameIdentifier();
|
||||
if (identifier != null) {
|
||||
addOccurrence(identifier);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user