A computer system runs an applications program generated by an object-oriented software development program. A state transition is made to a state of the applications program from an outside state. All state transitions to the state from outside states are connected to an input of a transition merge point of the state. A merge transition of the merge point is selected in response to the state transition and the merge transition transitions back to the state, wherein the merge transition contains merge transition code which executes during the merge transition.