void (@NotNull PyClass node) { final ASTNode nameNode = node.getNameNode(); if (!node.isNewStyleClass(myTypeEvalContext) && nameNode != null) { PyExpression[] superClassExpressions = node.getSuperClassExpressions(); if (superClassExpressions.length == 0) { registerProblem(nameNode.getPsi(), PyPsiBundle.message("INSP.classic.class.usage.old.style.class"), new TransformClassicClassQuickFix()); } else { registerProblem(nameNode.getPsi(), PyPsiBundle.message("INSP.classic.class.usage.old.style.class.ancestors")); } } }