W3cubDocs

/Kotlin

allSuperclasses

Platform and version requirements: JVM (1.1)
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.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect.full/all-superclasses.html