void (@NotNull Project project, @NotNull ProblemDescriptor descriptor) { final PyClass cls = PyUtil.as(descriptor.getPsiElement().getParent(), PyClass.class); if (cls == null) return; final PyClass abcClass = PyPsiFacade.getInstance(project).createClassByQName(PyNames.ABC, cls); if (abcClass == null) return; PyPsiRefactoringUtil.addSuperclasses(project, cls, abcClass); }