void (@NotNull Project project, @NotNull ProblemDescriptor descriptor) { final PyClass cls = PyUtil.as(descriptor.getPsiElement().getParent(), PyClass.class); if (cls == null) return; final PyClass abcMetaClass = PyPsiFacade.getInstance(project).createClassByQName(PyNames.ABC_META, cls); if (abcMetaClass == null) return; final TypeEvalContext context = TypeEvalContext.userInitiated(cls.getProject(), cls.getContainingFile()); PyPsiRefactoringUtil.addMetaClassIfNotExist(cls, abcMetaClass, context); }