Package-level declarations

Builders and accessors for argument lists.

Types

Link copied to clipboard
data class ArgumentList : ArgumentsProviderV1, List<Any?>

A list of argument value assignments for a set of parameters. Guarantees that an argument is provided for all parameters without default values.

Link copied to clipboard

Functions

Link copied to clipboard
inline fun ArgumentList(parameters: Parameters, builder: ArgumentsBuilder): ArgumentList

Builds an ArgumentList for a set of parameters. Parameters which are not set will use their default values if they have one. Successfully building an ArgumentList guarantees that values are provided for all parameters without default values.

fun ArgumentList(parameters: Parameters, args: List<Any?>): ArgumentList

Builds an ArgumentList for a set of parameters, where all argument values are known. The size of args must exactly match the size of parameters.

Link copied to clipboard

Builds an ArgumentList for a set of parameters. Parameters which are not set will use their default values if they have one. Successfully building an ArgumentList guarantees that values are provided for all parameters without default values.