Every segment in the implementation code has the following format:
... generated code
//#[ segment-type segment-identifierC++ code you entered
//#]
... generated code continues
All these code segments are in the implementation files.
The only segments you can modify without losing the ability to roundtrip are as follows:
//#[ reaction reaction-id
// you can modify this code
someReactionCode();
// do not modify beyond the //#] sign
//#]
//#[ exitAction ROOT.idle.(Entry)
someExitAction();
//#]
//#[ entryAction ROOT.idle.(Entry)
someEntryAction();
//#]
//#[ transition transition-id someTransitionCode();
//#]
//#[ operation doit()
someOperationCode();
someMoreOperationCode();
//#]