allSuperclasses
val KClass<*>.allSuperclasses: Collection<KClass<*>>
All superclasses of this class, including indirect ones, in no particular order. Includes superclasses and superinterfaces of the class, but does not include the class itself. The returned collection does not contain more than one instance of any given class.