allSuperclasses

JVM
1.1
val KClass<*>.allSuperclasses: Collection<KClass<*>>
(source)

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.