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

Platform and version requirements: Kotlin 1.1, JVM

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.