allSuperTypeClassReferences

This will return all super types as ClassReference, whether they're parsed as KtClassOrObject or ClassDescriptor. This will include generated code, assuming it has already been generated. The returned sequence will be distinct by FqName, and Psi types are preferred over Descriptors.

The first elements in the returned sequence represent the direct superclass to the receiver. The last elements represent the types which are furthest up-stream.

Parameters

includeSelf

If true, the receiver class is the first element of the sequence