ImmutableKmPackage

data class ImmutableKmPackage : ImmutableKmDeclarationContainer

Immutable representation of KmPackage.

Represents a Kotlin package fragment, including single file facades and multi-file class parts.

Functions

component1
Link copied to clipboard
operator fun component1(): List<ImmutableKmFunction>
component2
Link copied to clipboard
operator fun component2(): List<ImmutableKmProperty>
component3
Link copied to clipboard
operator fun component3(): List<ImmutableKmTypeAlias>
component4
Link copied to clipboard
operator fun component4(): List<ImmutableKmProperty>
component5
Link copied to clipboard
operator fun component5(): String?
copy
Link copied to clipboard
fun copy(functions: List<ImmutableKmFunction>, properties: List<ImmutableKmProperty>, typeAliases: List<ImmutableKmTypeAlias>, localDelegatedProperties: List<ImmutableKmProperty>, moduleName: String?): ImmutableKmPackage
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toMutable
Link copied to clipboard
fun toMutable(): KmPackage
toString
Link copied to clipboard
open override fun toString(): String

Properties

functions
Link copied to clipboard
open override val functions: List<ImmutableKmFunction>
Functions in the package fragment.
localDelegatedProperties
Link copied to clipboard
val localDelegatedProperties: List<ImmutableKmProperty>
Metadata of local delegated properties used somewhere inside this package fragment (but not in any class).
moduleName
Link copied to clipboard
val moduleName: String?
Name of the module where this class is declared.
properties
Link copied to clipboard
open override val properties: List<ImmutableKmProperty>
Properties in the package fragment.
typeAliases
Link copied to clipboard
open override val typeAliases: List<ImmutableKmTypeAlias>
TypeAliases in the package fragment.