void (ScopeOwner owner) { registerProblem((owner instanceof PyFunction) ? ((PyFunction)owner).getNameIdentifier() : owner, PyPsiBundle.message("INSP.unbound.function.too.large", owner.getName()), ProblemHighlightType.WEAK_WARNING); }