set

operator fun set(globalIndex: Int, value: Any?)(source)

Sets the argument value for the parameter at index globalIndex.

Throws

if globalIndex is out of bounds for these parameters.


operator fun set(kind: Parameter.Kind, indexInKind: Int, value: Any?)(source)

Sets the argument value for the kind parameter at indexInKind.

Throws

if indexInKind is out of bounds for parameters of kind kind.


operator fun set(name: String, value: Any?)(source)

Sets the value of the parameter with the given name.

Throws

if no parameter with the given name is found, or if name == "this"..


operator fun set(parameter: Parameter, value: Any?)(source)

Sets the value of the given parameter.

Throws

if parameters is not in the parameter set for this builder.


fun set(vararg values: Pair<String, Any?>)(source)

Set multiple arguments based on the parameter names.

Throws

if no parameter with the given name is found, or if name == "this"..