MultiFileClassPart

class MultiFileClassPart(var kmPackage: KmPackage, var facadeClassName: String, var version: JvmMetadataVersion, var flags: Int) : KotlinClassMetadata

Represents metadata of a class file containing a compiled multi-file class part, i.e., an internal class with method bodies and their metadata, accessed only from the corresponding facade. Just like FileFacade, this metadata contains only top-level declarations, as classes have their own one.

It does not contain any references to other parts; to locate all the parts, one should construct a corresponding facade beforehand.

See also

Constructors

Link copied to clipboard
constructor(kmPackage: KmPackage, facadeClassName: String, version: JvmMetadataVersion, flags: Int)

Properties

Link copied to clipboard

JVM internal name of the corresponding multi-file class facade.

Link copied to clipboard
open override var flags: Int

Additional classfile-level flags of this metadata. See Metadata.extraInt for possible values.

Link copied to clipboard

Returns the KmPackage representation of this metadata.

Link copied to clipboard
open override var version: JvmMetadataVersion

Version of this metadata.

Functions

Link copied to clipboard
open override fun write(): Metadata

Encodes and writes this metadata to the new instance of Metadata.