KmPackage

Represents a Kotlin package fragment that contains top-level functions, properties, and type aliases. Package fragments are produced from single file facades and multi-file class parts. Note that a package fragment does not contain any classes, as classes are not a part of file facades and have their own metadata.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val functions: MutableList<KmFunction>

Functions in the package fragment.

Link copied to clipboard

Metadata of local delegated properties used somewhere inside this package fragment (but not in any class). Note that for classes produced by the Kotlin compiler, such properties will have default accessors.

Link copied to clipboard

Name of the module where this package fragment is declared.

Link copied to clipboard
open override val properties: MutableList<KmProperty>

Properties in the package fragment.

Link copied to clipboard
open override val typeAliases: MutableList<KmTypeAlias>

Type aliases in the package fragment.