W3cubDocs

/Kotlin

KDeclarationContainer

Platform and version requirements: JVM (1.0), Native (1.3)
interface KDeclarationContainer

Represents an entity which may contain declarations of any other entities, such as a class or a package.

Properties

Platform and version requirements: JVM (1.0)

members

All functions and properties accessible in this container.

abstract val members: Collection<KCallable<*>>

Inheritors

KClass

Represents a class and provides introspection capabilities. Instances of this class are obtainable by the ::class syntax. See the Kotlin language documentation for more information.

Platform and version requirements: JS (1.1)
interface KClass<T : Any> : KClassifier
Platform and version requirements: JVM (1.0), Native (1.3)
interface KClass<T : Any> : 
    KDeclarationContainer, 
    KAnnotatedElement, 
    KClassifier

© 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/-k-declaration-container/index.html