void (@NotNull PsiNameIdentifierOwner element) { final ScopeOwner owner = ScopeUtil.getScopeOwner(element); if (owner instanceof PyClass) { return; } final String name = element.getName(); if (name != null && !myIgnoredNames.contains(name)) { final PyBuiltinCache builtinCache = PyBuiltinCache.getInstance(element); final PsiElement builtin = builtinCache.getByName(name); if (builtin != null && !PyUtil.inSameFile(builtin, element)) { final PsiElement identifier = element.getNameIdentifier(); final PsiElement problemElement = identifier != null ? identifier : element; registerProblem(problemElement, PyPsiBundle.message("INSP.shadowing.builtins.shadows.built.in.name", name), ProblemHighlightType.WEAK_WARNING, null, createQuickFixes(name, problemElement)); } } }