No code is generated for flow final nodes.

To explicitly end an activity, use final nodes which generate a return statement.