void (final PyClass element, final Collection<? super LineMarkerInfo<?>> result) { if (PyClassInheritorsSearch.search(element, false).findFirst() != null) { PsiElement identifier = element.getNameIdentifier(); if (identifier != null) { result.add(new LineMarkerInfo<>(identifier, identifier.getTextRange(), AllIcons.Gutter.OverridenMethod, ourSubclassTooltipProvider, ourSubclassNavigator, GutterIconRenderer.Alignment.RIGHT)); } } }