ImmutableKmContract

data class ImmutableKmContract

Immutable representation of KmContract.

Represents a contract of a Kotlin function.

Contracts are an internal feature of the standard Kotlin library, and their behavior and/or binary format may change in a subsequent release.

Functions

component1
Link copied to clipboard
operator fun component1(): List<ImmutableKmEffect>
copy
Link copied to clipboard
fun copy(effects: List<ImmutableKmEffect>): ImmutableKmContract
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(): KmContract
toString
Link copied to clipboard
open override fun toString(): String

Properties

effects
Link copied to clipboard
val effects: List<ImmutableKmEffect>
Effects of this contract.