void (@NotNull Project project, @NotNull ProblemDescriptor descriptor) { PsiElement element = descriptor.getPsiElement(); final PyClass pyClass = PsiTreeUtil.getParentOfType(element, PyClass.class); assert pyClass != null; final PyArgumentList expressionList = pyClass.getSuperClassExpressionList(); if (expressionList != null && expressionList.getArguments().length != 0) { final PyExpression argument = expressionList.getArguments()[0]; final TemplateBuilder builder = TemplateBuilderFactory.getInstance().createTemplateBuilder(argument); builder.replaceElement(argument, argument.getText()); PythonTemplateRunner.runTemplate(element.getContainingFile(), builder); } }