void (@NotNull PyFunction function) { final PyClass containingClass = function.getContainingClass(); if (ignoreOverriddenFunctions && isOverriddenMethod(function)) return; final String name = function.getName(); if (name == null) return; if (containingClass != null && (PyUtil.isSpecialName(name) || isIgnoredOrHasIgnoredAncestor(containingClass))) { return; } if (!LOWERCASE_REGEX.matcher(name).matches()) { final ASTNode nameNode = function.getNameNode(); if (nameNode != null) { final List<LocalQuickFix> quickFixes = new ArrayList<>(); addFunctionQuickFixes(getHolder(), containingClass, nameNode, quickFixes, myTypeEvalContext); final String errorCode = "N802"; if (!ignoredErrors.contains(errorCode)) { quickFixes.add(new IgnoreErrorFix(errorCode)); registerProblem(nameNode.getPsi(), ERROR_CODES_DESCRIPTION.get(errorCode).get(), quickFixes.toArray(LocalQuickFix.EMPTY_ARRAY)); } } } }