...
Add a new method to your synthesis that transforms a
State
into a correspondingKNode
:Code Block language java linenumbers true private def KNode createStatetransform(State state) { val stateNode = state.createNode().associateWith(state); return stateNode; }