W3cubDocs

/Kotlin

allSupertypes

val KClass<*>.allSupertypes: Collection<KType>

Platform and version requirements: Kotlin 1.1, JVM

All supertypes of this class, including indirect ones, in no particular order. There is not more than one type in the returned collection that has any given classifier.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect.full/all-supertypes.html