nextControlFlow

fun nextControlFlow(controlFlowName: String, controlFlowCode: String, vararg args: Any?): FunctionSpec.Builder

Parameters

controlFlowName

the control flow construct (e.g. "else if").

controlFlowCode

the control flow construct and its code, such as "else if (foo == 10)". Shouldn't contain braces or newline characters.