void (@NotNull final TypeEvalContext context, @Nullable final PyClassStub stub, final @NotNull List<? super PyClassLikeType> result) { final Map<QualifiedName, QualifiedName> superClasses = stub != null ? stub.getSuperClasses() : PyClassElementType.getSuperClassQNames(this); final PsiFile file = getContainingFile(); if (file instanceof PyFile) { for (QualifiedName name : superClasses.keySet()) { result.add(name != null ? classTypeFromQName(name, (PyFile)file, context) : null); } } }