PyClassStub (@NotNull final PyClass psi, final StubElement parentStub) { return new PyClassStubImpl(psi.getName(), parentStub, getSuperClassQNames(psi), ContainerUtil.map(psi.getSuperClassExpressions(), PsiElement::getText), PyPsiUtils.asQualifiedName(psi.getMetaClassExpression()), psi.getOwnSlots(), PyPsiUtils.strValue(psi.getDocStringExpression()), getStubElementType(), createCustomStub(psi)); }