insertArgumentLayouts
Returns a function descriptor with the given argument layouts inserted at the given index, into the argument layout array of this function descriptor.
- Parameters:
-
index - the index at which to insert the arguments
-
addedLayouts - the argument layouts to insert at given index.
- Returns:
- the new function descriptor.
- Throws:
-
IllegalArgumentException - if index < 0 || index > argumentLayouts().size() .
|
insertArgumentLayouts
Returns a function descriptor with the given argument layouts inserted at the given index, into the argument layout array of this function descriptor.
- Parameters:
-
index - the index at which to insert the arguments
-
addedLayouts - the argument layouts to insert at given index.
- Returns:
- the new function descriptor.
- Throws:
-
IllegalArgumentException - if index < 0 || index > argumentLayouts().size() .
|
FunctionDescriptorwhen preview features are enabled.