Ejemplo 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);
 }
Ejemplo n.º 2
0
 private boolean eventExistsAndHasNotBeenOverridden(String event) {
   return event != null && !eventsForThisState.contains(event);
 }