get

open operator override fun get(index: Int): Any?(source)

Get the argument for the parameter at index, or null if one was not set. To distinguish between explicitly passing null and using the default value, use isDefaulted.

See also


operator fun get(name: String): Any?(source)

Get the argument for the parameter with the given name, or null if one was not set. To distinguish between explicitly passing null and using the default value, use isDefaulted.

See also

Throws

if name == "this", because the parameter would be ambiguous.


operator fun get(parameter: Parameter): Any?(source)

Get the argument for parameter, or null if one was not set. To distinguish between explicitly passing null and using the default value, use isDefaulted.

See also


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

Get the argument for the kind parameter at indexInKind, or null if one was not set. To distinguish between explicitly passing null and using the default value, use isDefaulted.

See also