ifStatement

inline fun GeneratorAdapter.ifStatement(condition: GeneratorAdapter.() -> Unit, thenClause: GeneratorAdapter.() -> Unit, elseClause: GeneratorAdapter.() -> Unit = { })

Generates an if-statement in bytecode.

Parameters

condition

the condition code.

thenClause

the then-clause code.

elseClause

the else-clause code.