writeLambda

fun writeLambda(kmLambda: KmLambda, metadataVersion: IntArray = COMPATIBLE_METADATA_VERSION, extraInt: Int = 0): Metadata

Writes kmLambda as the synthetic class metadata.

Parameters

metadataVersion

metadata version to be written to the metadata (see Metadata.metadataVersion), KotlinClassMetadata.COMPATIBLE_METADATA_VERSION by default. Cannot be less (lexicographically) than [1, 4]

extraInt

the value of the class-level flags to be written to the metadata (see Metadata.extraInt), 0 by default

Throws

if kmLambda is not correct and cannot be written or if metadataVersion is not supported for writing.