copyWith

fun copyWith(type: CommandType = this.type, body: Any = this.body, ref: AggregateRef = this.ref, scope: Scope = this.scope, operator: Operator? = this.operator, caller: Caller? = this.caller): CommandCandidate

This CommandCandidate with the given fields replaced: Wow's own copy, left out of the ABI.