copy

fun copy(flags: Flags, name: String, typeParameters: List<ImmutableKmTypeParameter>, receiverParameterType: ImmutableKmType?, valueParameters: List<ImmutableKmValueParameter>, returnType: ImmutableKmType, versionRequirements: List<ImmutableKmVersionRequirement>, contract: ImmutableKmContract?, signature: JvmMethodSignature?, lambdaClassOriginName: String?): ImmutableKmFunction