Exemplo n.º 1
0
 private void addSubTransition(SemanticTransition semanticTransition, Transition transition) {
   eventsForThisState.add(semanticTransition.event);
   SubTransition subTransition = new SubTransition();
   new SubTransitionOptimizer(semanticTransition, subTransition).optimize();
   transition.subTransitions.add(subTransition);
 }
Exemplo n.º 2
0
 private boolean eventExistsAndHasNotBeenOverridden(String event) {
   return event != null && !eventsForThisState.contains(event);
 }