Icon (PyMemberInfo<PyElement> memberInfo) { final PsiElement member = memberInfo.getMember(); Icon overrideIcon = EMPTY_OVERRIDE_ICON; if (member instanceof PyFunction && memberInfo.getOverrides() != null && memberInfo.getOverrides()) { overrideIcon = AllIcons.General.OverridingMethod; } return overrideIcon; }