← Docs
kotlin-stdlib / kotlin.reflect.full / allSuperclasses

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.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .