ソースを参照

Merge pull request #202 from Yakindu/issue_95

fixed issue #95 - empty are omitted in code generators
Axel Terfloth 9 年 前
コミット
91ba4ba35c
61 ファイル変更27 行追加723 行削除
  1. 27 3
      plugins/org.yakindu.sct.model.sexec/src/org/yakindu/sct/model/sexec/transformation/FlowOptimizer.xtend
  2. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/alwaysoncycle/AlwaysOncycleStatemachine.java
  3. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/assignmentasexpression/AssignmentAsExpressionStatemachine.java
  4. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/bitexpressions/BitExpressionsStatemachine.java
  5. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/booleanexpressions/BooleanExpressionsStatemachine.java
  6. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/castexpressions/CastExpressionsStatemachine.java
  7. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/choice/ChoiceStatemachine.java
  8. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/ckeywords/CKeywordsStatemachine.java
  9. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/conditionalexpressions/ConditionalExpressionsStatemachine.java
  10. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/constants/ConstantsStatemachine.java
  11. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/declarations/DeclarationsStatemachine.java
  12. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/deepentry/DeepEntryStatemachine.java
  13. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/deephistory/DeepHistoryStatemachine.java
  14. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/dynamicchoice/DynamicChoiceStatemachine.java
  15. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/emptytransition/EmptyTransitionStatemachine.java
  16. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/enterstate/EnterStateStatemachine.java
  17. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/entrychoice/EntryChoiceStatemachine.java
  18. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/entryexitselftransition/EntryExitSelfTransitionStatemachine.java
  19. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/exitonselftransition/ExitOnSelfTransitionStatemachine.java
  20. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/exitstate/ExitStateStatemachine.java
  21. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/featurecalls/FeatureCallsStatemachine.java
  22. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/finalstate/FinalStateStatemachine.java
  23. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/guard/GuardStatemachine.java
  24. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/guardedentry/GuardedEntryStatemachine.java
  25. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/guardedexit/GuardedExitStatemachine.java
  26. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/historywithexitpoint/HistoryWithExitPointStatemachine.java
  27. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/historywithoutinitialstep/HistoryWithoutInitialStepStatemachine.java
  28. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/ineventlifecycle/InEventLifeCycleStatemachine.java
  29. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/integerexpressions/IntegerExpressionsStatemachine.java
  30. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/internaleventlifecycle/InternalEventLifeCycleStatemachine.java
  31. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/javakeywords/JavaKeywordsStatemachine.java
  32. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/localreactions/LocalReactionsStatemachine.java
  33. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/logicaland/LogicalAndStatemachine.java
  34. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/logicalor/LogicalOrStatemachine.java
  35. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/namedinterfaceaccess/NamedInterfaceAccessStatemachine.java
  36. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/nullcheck/NullCheckStatemachine.java
  37. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/operations/OperationsStatemachine.java
  38. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/operationswithoutbraces/OperationsWithoutBracesStatemachine.java
  39. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/outeventlifecycle/OutEventLifeCycleStatemachine.java
  40. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/parenthesis/ParenthesisStatemachine.java
  41. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/priorityvalues/PriorityValuesStatemachine.java
  42. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/raiseevent/RaiseEventStatemachine.java
  43. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/readonlyvariable/ReadOnlyVariableStatemachine.java
  44. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/realexpressions/RealExpressionsStatemachine.java
  45. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/samenamedifferentregion/SameNameDifferentRegionStatemachine.java
  46. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/shallowhistory/ShallowHistoryStatemachine.java
  47. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/shallowhistorywithdeepentry/ShallowHistoryWithDeepEntryStatemachine.java
  48. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/simpleevent/SimpleEventStatemachine.java
  49. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/simplehierachy/SimpleHierachyStatemachine.java
  50. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/statechartactive/StatechartActiveStatemachine.java
  51. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/statechartlocalreactions/StatechartLocalReactionsStatemachine.java
  52. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/stateisactive/StateIsActiveStatemachine.java
  53. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/staticchoice/StaticChoiceStatemachine.java
  54. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/stextkeywordsinstatesandregions/STextKeywordsInStatesAndRegionsStatemachine.java
  55. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/stringexpressions/StringExpressionsStatemachine.java
  56. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/syncfork/SyncForkStatemachine.java
  57. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/syncjoin/SyncJoinStatemachine.java
  58. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/timedtransitions/TimedTransitionsStatemachine.java
  59. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/transitionwithoutcondition/TransitionWithoutConditionStatemachine.java
  60. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/triggerguardexpressions/TriggerGuardExpressionsStatemachine.java
  61. 0 12
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/valuedevents/ValuedEventsStatemachine.java

+ 27 - 3
plugins/org.yakindu.sct.model.sexec/src/org/yakindu/sct/model/sexec/transformation/FlowOptimizer.xtend

@@ -41,7 +41,10 @@ class FlowOptimizer {
 		
 		// first replace all 'if true' steps by then step.
 		flow.replaceTrueIfs
-		 
+		
+		// we don't need empty functions
+		flow.eliminateEmptySequences
+		
 		// perform inlining
 		if (_inlineReactions) {
 			flow.inlineReactionChecks	
@@ -69,11 +72,29 @@ class FlowOptimizer {
 	}
 	
 	
-	// REPLACE TRUE IF STEPS
+	/** Replaces all true if steps by then step. */
 	def replaceTrueIfs(ExecutionFlow flow) {
 		flow.eAllContents.filter(typeof(If)).filter( i | i.check.alwaysTrue ).forEach( i | i.substituteBy(i.thenStep) );
 	}
 	
+	
+	/** Determines and removes all empty sequences that are not part of a parent step from the model */
+	def eliminateEmptySequences(ExecutionFlow flow) {
+		var allReactSequences = flow.states.map( state | state.reactSequence ) 
+		var emptySeqences = flow.eAllContents.filter(typeof(Sequence)).filter( s | s.empty ).toList
+		emptySeqences.removeAll(allReactSequences)
+		
+		emptySeqences.forEach( s | { 
+			val callList = s.caller.toList.clone 
+			callList.forEach( c | { c.eContainer.substituteCall(c, null)
+			
+			callList.forEach[ call | call.step = null]
+			})
+		})
+	}
+	
+	
+	
 	def substituteBy(Step orig, Step substitute) {
 		orig.eContainer.substitute(orig, substitute)
 	}
@@ -210,7 +231,10 @@ class FlowOptimizer {
 
 	def dispatch boolean substituteCall(Sequence owner, Call call, Step step) {
 		if ( owner.steps.contains(call) ) { 
-			owner.steps.set(owner.steps.indexOf(call), step)
+			if ( step != null )
+				owner.steps.set(owner.steps.indexOf(call), step)
+			else 
+				owner.steps.remove(owner.steps.indexOf(call))
 			return true
 		}
 		

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/alwaysoncycle/AlwaysOncycleStatemachine.java

@@ -62,15 +62,11 @@ public class AlwaysOncycleStatemachine implements IAlwaysOncycleStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -172,19 +168,11 @@ public class AlwaysOncycleStatemachine implements IAlwaysOncycleStatemachine {
 		sCInterface.setValue(sCInterface.getValue() + 1);
 	}
 
-	/* Entry action for statechart 'AlwaysOncycle'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'StateA'. */
 	private void entryAction_main_region_StateA() {
 		sCInterface.setValue(0);
 	}
 
-	/* Exit action for state 'AlwaysOncycle'. */
-	private void exitAction() {
-	}
-
 	/* Exit action for state 'StateA'. */
 	private void exitAction_main_region_StateA() {
 		sCInterface.setValue(0);

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/assignmentasexpression/AssignmentAsExpressionStatemachine.java

@@ -354,15 +354,11 @@ public class AssignmentAsExpressionStatemachine implements IAssignmentAsExpressi
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -669,10 +665,6 @@ public class AssignmentAsExpressionStatemachine implements IAssignmentAsExpressi
 		enterSequence_main_region_Multiply_default();
 	}
 
-	/* Entry action for statechart 'AssignmentAsExpression'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'Add'. */
 	private void entryAction_main_region_Add() {
 		sCInterface.setA((sCInterface.assignB(5)) + 4);
@@ -720,10 +712,6 @@ public class AssignmentAsExpressionStatemachine implements IAssignmentAsExpressi
 		sCInterface.setD(sCInterface.getD() - ((sCInterface.assignC(sCInterface.getC() - 5)) - 1));
 	}
 
-	/* Exit action for state 'AssignmentAsExpression'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state Add */
 	private void enterSequence_main_region_Add_default() {
 		entryAction_main_region_Add();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/bitexpressions/BitExpressionsStatemachine.java

@@ -144,15 +144,11 @@ public class BitExpressionsStatemachine implements IBitExpressionsStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -275,10 +271,6 @@ public class BitExpressionsStatemachine implements IBitExpressionsStatemachine {
 		enterSequence_main_region_StateB_default();
 	}
 
-	/* Entry action for statechart 'BitExpressions'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'StateA'. */
 	private void entryAction_main_region_StateA() {
 		sCInterface.setMyBit1(5);
@@ -301,10 +293,6 @@ public class BitExpressionsStatemachine implements IBitExpressionsStatemachine {
 		sCInterface.setBitwiseXor(sCInterface.myBit1 ^ sCInterface.myBit2);
 	}
 
-	/* Exit action for state 'BitExpressions'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state StateA */
 	private void enterSequence_main_region_StateA_default() {
 		entryAction_main_region_StateA();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/booleanexpressions/BooleanExpressionsStatemachine.java

@@ -132,15 +132,11 @@ public class BooleanExpressionsStatemachine implements IBooleanExpressionsStatem
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -256,10 +252,6 @@ public class BooleanExpressionsStatemachine implements IBooleanExpressionsStatem
 		enterSequence_main_region_StateB_default();
 	}
 
-	/* Entry action for statechart 'BooleanExpressions'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'StateA'. */
 	private void entryAction_main_region_StateA() {
 		sCInterface.setMyBool1(true);
@@ -280,10 +272,6 @@ public class BooleanExpressionsStatemachine implements IBooleanExpressionsStatem
 		sCInterface.setNotequal((sCInterface.myBool1 != sCInterface.myBool2));
 	}
 
-	/* Exit action for state 'BooleanExpressions'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state StateA */
 	private void enterSequence_main_region_StateA_default() {
 		entryAction_main_region_StateA();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/castexpressions/CastExpressionsStatemachine.java

@@ -62,15 +62,11 @@ public class CastExpressionsStatemachine implements ICastExpressionsStatemachine
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -159,10 +155,6 @@ public class CastExpressionsStatemachine implements ICastExpressionsStatemachine
 		enterSequence_main_region_C_default();
 	}
 
-	/* Entry action for statechart 'CastExpressions'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'B'. */
 	private void entryAction_main_region_B() {
 		sCInterface.setRealValue(3 * ((long) 5.5));
@@ -173,10 +165,6 @@ public class CastExpressionsStatemachine implements ICastExpressionsStatemachine
 		sCInterface.setRealValue(((long) (sCInterface.realValue * sCInterface.intValue * 10.1)));
 	}
 
-	/* Exit action for state 'CastExpressions'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/choice/ChoiceStatemachine.java

@@ -81,15 +81,11 @@ public class ChoiceStatemachine implements IChoiceStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -288,14 +284,6 @@ public class ChoiceStatemachine implements IChoiceStatemachine {
 		enterSequence_main_region_B_default();
 	}
 
-	/* Entry action for statechart 'Choice'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'Choice'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/ckeywords/CKeywordsStatemachine.java

@@ -371,15 +371,11 @@ public class CKeywordsStatemachine implements ICKeywordsStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_auto_default();
 	}
 
 	public void exit() {
 		exitSequence_auto();
-
-		exitAction();
 	}
 
 	/**
@@ -639,10 +635,6 @@ public class CKeywordsStatemachine implements ICKeywordsStatemachine {
 		enterSequence_auto_loop_default();
 	}
 
-	/* Entry action for statechart 'CKeywords'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'char'. */
 	private void entryAction_auto_char() {
 		sCInterface.setCase(true);
@@ -753,10 +745,6 @@ public class CKeywordsStatemachine implements ICKeywordsStatemachine {
 		sCInterface.setWhile(false);
 	}
 
-	/* Exit action for state 'CKeywords'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state char */
 	private void enterSequence_auto_char_default() {
 		entryAction_auto_char();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/conditionalexpressions/ConditionalExpressionsStatemachine.java

@@ -72,15 +72,11 @@ public class ConditionalExpressionsStatemachine implements IConditionalExpressio
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -161,10 +157,6 @@ public class ConditionalExpressionsStatemachine implements IConditionalExpressio
 		enterSequence_main_region_B_default();
 	}
 
-	/* Entry action for statechart 'ConditionalExpressions'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'A'. */
 	private void entryAction_main_region_A() {
 		sCInterface.setCondition(sCInterface.boolVar ? 1 : 0);
@@ -175,10 +167,6 @@ public class ConditionalExpressionsStatemachine implements IConditionalExpressio
 		sCInterface.setCondition(((sCInterface.condition == 2) ? 1 : 2));
 	}
 
-	/* Exit action for state 'ConditionalExpressions'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		entryAction_main_region_A();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/constants/ConstantsStatemachine.java

@@ -103,15 +103,11 @@ public class ConstantsStatemachine implements IConstantsStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -223,10 +219,6 @@ public class ConstantsStatemachine implements IConstantsStatemachine {
 		enterSequence_main_region_A_default();
 	}
 
-	/* Entry action for statechart 'Constants'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'B'. */
 	private void entryAction_main_region_B() {
 		sCInterface.setResult(sCINamed.two * sCInterface.x);
@@ -237,10 +229,6 @@ public class ConstantsStatemachine implements IConstantsStatemachine {
 		sCInterface.setResult(sCInterface.result * internalConstant);
 	}
 
-	/* Exit action for state 'Constants'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/declarations/DeclarationsStatemachine.java

@@ -435,15 +435,11 @@ public class DeclarationsStatemachine implements IDeclarationsStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -677,10 +673,6 @@ public class DeclarationsStatemachine implements IDeclarationsStatemachine {
 		enterSequence_main_region_A_default();
 	}
 
-	/* Entry action for statechart 'Declarations'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'A'. */
 	private void entryAction_main_region_A() {
 		setVarInA(false);
@@ -694,10 +686,6 @@ public class DeclarationsStatemachine implements IDeclarationsStatemachine {
 		setVarInE(1);
 	}
 
-	/* Exit action for state 'Declarations'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		entryAction_main_region_A();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/deepentry/DeepEntryStatemachine.java

@@ -95,8 +95,6 @@ public class DeepEntryStatemachine implements IDeepEntryStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_r_default();
 
 		enterSequence_r2_default();
@@ -110,8 +108,6 @@ public class DeepEntryStatemachine implements IDeepEntryStatemachine {
 		exitSequence_r2();
 
 		exitSequence_r3();
-
-		exitAction();
 	}
 
 	/**
@@ -244,10 +240,6 @@ public class DeepEntryStatemachine implements IDeepEntryStatemachine {
 		enterSequence_r2_B_default();
 	}
 
-	/* Entry action for statechart 'DeepEntry'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'A'. */
 	private void entryAction_r_A() {
 		sCInterface.setX(sCInterface.getX() + 1);
@@ -268,10 +260,6 @@ public class DeepEntryStatemachine implements IDeepEntryStatemachine {
 		sCInterface.setZ(sCInterface.getZ() + 1);
 	}
 
-	/* Exit action for state 'DeepEntry'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state B */
 	private void enterSequence_r_A_r_B_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/deephistory/DeepHistoryStatemachine.java

@@ -109,15 +109,11 @@ public class DeepHistoryStatemachine implements IDeepHistoryStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_mainRegion_default();
 	}
 
 	public void exit() {
 		exitSequence_mainRegion();
-
-		exitAction();
 	}
 
 	/**
@@ -296,14 +292,6 @@ public class DeepHistoryStatemachine implements IDeepHistoryStatemachine {
 		enterSequence_mainRegion_State2__region0_State4__region0_State7__region0_State8_default();
 	}
 
-	/* Entry action for statechart 'DeepHistory'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'DeepHistory'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state State1 */
 	private void enterSequence_mainRegion_State1_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/dynamicchoice/DynamicChoiceStatemachine.java

@@ -60,15 +60,11 @@ public class DynamicChoiceStatemachine implements IDynamicChoiceStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -162,19 +158,11 @@ public class DynamicChoiceStatemachine implements IDynamicChoiceStatemachine {
 		enterSequence_main_region_B_default();
 	}
 
-	/* Entry action for statechart 'DynamicChoice'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'Start'. */
 	private void entryAction_main_region_Start() {
 		sCInterface.setNumber(1);
 	}
 
-	/* Exit action for state 'DynamicChoice'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state Start */
 	private void enterSequence_main_region_Start_default() {
 		entryAction_main_region_Start();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/emptytransition/EmptyTransitionStatemachine.java

@@ -32,15 +32,11 @@ public class EmptyTransitionStatemachine implements IEmptyTransitionStatemachine
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -87,14 +83,6 @@ public class EmptyTransitionStatemachine implements IEmptyTransitionStatemachine
 		}
 	}
 
-	/* Entry action for statechart 'EmptyTransition'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'EmptyTransition'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/enterstate/EnterStateStatemachine.java

@@ -63,15 +63,11 @@ public class EnterStateStatemachine implements IEnterStateStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_r_default();
 	}
 
 	public void exit() {
 		exitSequence_r();
-
-		exitAction();
 	}
 
 	/**
@@ -168,14 +164,6 @@ public class EnterStateStatemachine implements IEnterStateStatemachine {
 		enterSequence_r_B_g();
 	}
 
-	/* Entry action for statechart 'EnterState'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'EnterState'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_r_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/entrychoice/EntryChoiceStatemachine.java

@@ -32,15 +32,11 @@ public class EntryChoiceStatemachine implements IEntryChoiceStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -93,14 +89,6 @@ public class EntryChoiceStatemachine implements IEntryChoiceStatemachine {
 		enterSequence_main_region_A_default();
 	}
 
-	/* Entry action for statechart 'EntryChoice'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'EntryChoice'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/entryexitselftransition/EntryExitSelfTransitionStatemachine.java

@@ -79,15 +79,11 @@ public class EntryExitSelfTransitionStatemachine implements IEntryExitSelfTransi
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -196,19 +192,11 @@ public class EntryExitSelfTransitionStatemachine implements IEntryExitSelfTransi
 		enterSequence_main_region_A_default();
 	}
 
-	/* Entry action for statechart 'EntryExitSelfTransition'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'A'. */
 	private void entryAction_main_region_A() {
 		sCInterface.setEntries(sCInterface.getEntries() + 1);
 	}
 
-	/* Exit action for state 'EntryExitSelfTransition'. */
-	private void exitAction() {
-	}
-
 	/* Exit action for state 'A'. */
 	private void exitAction_main_region_A() {
 		sCInterface.setExits(sCInterface.getExits() + 1);

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/exitonselftransition/ExitOnSelfTransitionStatemachine.java

@@ -79,15 +79,11 @@ public class ExitOnSelfTransitionStatemachine implements IExitOnSelfTransitionSt
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -191,19 +187,11 @@ public class ExitOnSelfTransitionStatemachine implements IExitOnSelfTransitionSt
 		enterSequence_main_region_A_default();
 	}
 
-	/* Entry action for statechart 'ExitOnSelfTransition'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'A'. */
 	private void entryAction_main_region_A() {
 		sCInterface.setEntryCount(sCInterface.getEntryCount() + 1);
 	}
 
-	/* Exit action for state 'ExitOnSelfTransition'. */
-	private void exitAction() {
-	}
-
 	/* Exit action for state 'A'. */
 	private void exitAction_main_region_A() {
 		sCInterface.setExitCount(sCInterface.getExitCount() + 1);

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/exitstate/ExitStateStatemachine.java

@@ -63,15 +63,11 @@ public class ExitStateStatemachine implements IExitStateStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_r_default();
 	}
 
 	public void exit() {
 		exitSequence_r();
-
-		exitAction();
 	}
 
 	/**
@@ -180,14 +176,6 @@ public class ExitStateStatemachine implements IExitStateStatemachine {
 		react_r_A_r__exit_Default();
 	}
 
-	/* Entry action for statechart 'ExitState'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'ExitState'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_r_A_default() {
 		enterSequence_r_A_r_default();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/featurecalls/FeatureCallsStatemachine.java

@@ -60,15 +60,11 @@ public class FeatureCallsStatemachine implements IFeatureCallsStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -140,10 +136,6 @@ public class FeatureCallsStatemachine implements IFeatureCallsStatemachine {
 		enterSequence_main_region_A_default();
 	}
 
-	/* Entry action for statechart 'FeatureCalls'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'B'. */
 	private void entryAction_main_region_B() {
 		sCIMyInterface.setMyInt(42);
@@ -151,10 +143,6 @@ public class FeatureCallsStatemachine implements IFeatureCallsStatemachine {
 		sCIMyInterface.raiseEvent1();
 	}
 
-	/* Exit action for state 'FeatureCalls'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/finalstate/FinalStateStatemachine.java

@@ -32,15 +32,11 @@ public class FinalStateStatemachine implements IFinalStateStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -95,14 +91,6 @@ public class FinalStateStatemachine implements IFinalStateStatemachine {
 		enterSequence_main_region__final__default();
 	}
 
-	/* Entry action for statechart 'FinalState'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'FinalState'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state myState */
 	private void enterSequence_main_region_myState_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/guard/GuardStatemachine.java

@@ -74,15 +74,11 @@ public class GuardStatemachine implements IGuardStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -182,19 +178,11 @@ public class GuardStatemachine implements IGuardStatemachine {
 		enterSequence_main_region_A_default();
 	}
 
-	/* Entry action for statechart 'Guard'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'B'. */
 	private void entryAction_main_region_B() {
 		sCInterface.setMyVar(10);
 	}
 
-	/* Exit action for state 'Guard'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/guardedentry/GuardedEntryStatemachine.java

@@ -72,15 +72,11 @@ public class GuardedEntryStatemachine implements IGuardedEntryStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -171,10 +167,6 @@ public class GuardedEntryStatemachine implements IGuardedEntryStatemachine {
 		enterSequence_main_region_A_default();
 	}
 
-	/* Entry action for statechart 'GuardedEntry'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'A'. */
 	private void entryAction_main_region_A() {
 		if (sCInterface.getGuard()) {
@@ -182,10 +174,6 @@ public class GuardedEntryStatemachine implements IGuardedEntryStatemachine {
 		}
 	}
 
-	/* Exit action for state 'GuardedEntry'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		entryAction_main_region_A();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/guardedexit/GuardedExitStatemachine.java

@@ -72,15 +72,11 @@ public class GuardedExitStatemachine implements IGuardedExitStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -171,14 +167,6 @@ public class GuardedExitStatemachine implements IGuardedExitStatemachine {
 		enterSequence_main_region_A_default();
 	}
 
-	/* Entry action for statechart 'GuardedExit'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'GuardedExit'. */
-	private void exitAction() {
-	}
-
 	/* Exit action for state 'A'. */
 	private void exitAction_main_region_A() {
 		if (sCInterface.getGuard()) {

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/historywithexitpoint/HistoryWithExitPointStatemachine.java

@@ -67,15 +67,11 @@ public class HistoryWithExitPointStatemachine implements IHistoryWithExitPointSt
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_mr_default();
 	}
 
 	public void exit() {
 		exitSequence_mr();
-
-		exitAction();
 	}
 
 	/**
@@ -198,14 +194,6 @@ public class HistoryWithExitPointStatemachine implements IHistoryWithExitPointSt
 		enterSequence_mr_A_default();
 	}
 
-	/* Entry action for statechart 'HistoryWithExitPoint'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'HistoryWithExitPoint'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_mr_A_default() {
 		enterSequence_mr_A_r_default();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/historywithoutinitialstep/HistoryWithoutInitialStepStatemachine.java

@@ -74,15 +74,11 @@ public class HistoryWithoutInitialStepStatemachine implements IHistoryWithoutIni
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -217,14 +213,6 @@ public class HistoryWithoutInitialStepStatemachine implements IHistoryWithoutIni
 		enterSequence_main_region_B_r1_C_default();
 	}
 
-	/* Entry action for statechart 'HistoryWithoutInitialStep'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'HistoryWithoutInitialStep'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/ineventlifecycle/InEventLifeCycleStatemachine.java

@@ -60,15 +60,11 @@ public class InEventLifeCycleStatemachine implements IInEventLifeCycleStatemachi
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -138,14 +134,6 @@ public class InEventLifeCycleStatemachine implements IInEventLifeCycleStatemachi
 		sCInterface.setI(sCInterface.getI() + 1);
 	}
 
-	/* Entry action for statechart 'InEventLifeCycle'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'InEventLifeCycle'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/integerexpressions/IntegerExpressionsStatemachine.java

@@ -288,15 +288,11 @@ public class IntegerExpressionsStatemachine implements IIntegerExpressionsStatem
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -503,10 +499,6 @@ public class IntegerExpressionsStatemachine implements IIntegerExpressionsStatem
 		enterSequence_main_region_StateB_default();
 	}
 
-	/* Entry action for statechart 'IntegerExpressions'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'StateA'. */
 	private void entryAction_main_region_StateA() {
 		sCInterface.setMyInt1(10);
@@ -551,10 +543,6 @@ public class IntegerExpressionsStatemachine implements IIntegerExpressionsStatem
 		sCInterface.setModuloAssign(sCInterface.getModuloAssign() % sCInterface.myInt1);
 	}
 
-	/* Exit action for state 'IntegerExpressions'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state StateA */
 	private void enterSequence_main_region_StateA_default() {
 		entryAction_main_region_StateA();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/internaleventlifecycle/InternalEventLifeCycleStatemachine.java

@@ -60,8 +60,6 @@ public class InternalEventLifeCycleStatemachine implements IInternalEventLifeCyc
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_r1_default();
 
 		enterSequence_r2_default();
@@ -71,8 +69,6 @@ public class InternalEventLifeCycleStatemachine implements IInternalEventLifeCyc
 		exitSequence_r1();
 
 		exitSequence_r2();
-
-		exitAction();
 	}
 
 	/**
@@ -195,14 +191,6 @@ public class InternalEventLifeCycleStatemachine implements IInternalEventLifeCyc
 		enterSequence_r2_C_default();
 	}
 
-	/* Entry action for statechart 'InternalEventLifeCycle'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'InternalEventLifeCycle'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_r1_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/javakeywords/JavaKeywordsStatemachine.java

@@ -587,15 +587,11 @@ public class JavaKeywordsStatemachine implements IJavaKeywordsStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_goto_default();
 	}
 
 	public void exit() {
 		exitSequence_goto();
-
-		exitAction();
 	}
 
 	/**
@@ -1015,10 +1011,6 @@ public class JavaKeywordsStatemachine implements IJavaKeywordsStatemachine {
 		enterSequence_goto_void_volatile_transient_this();
 	}
 
-	/* Entry action for statechart 'JavaKeywords'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'abstract'. */
 	private void entryAction_goto_abstract() {
 		sCInterface.setAbstract(true);
@@ -1199,10 +1191,6 @@ public class JavaKeywordsStatemachine implements IJavaKeywordsStatemachine {
 		sCInterface.setVolatile(false);
 	}
 
-	/* Exit action for state 'JavaKeywords'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state abstract */
 	private void enterSequence_goto_abstract_default() {
 		entryAction_goto_abstract();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/localreactions/LocalReactionsStatemachine.java

@@ -50,15 +50,11 @@ public class LocalReactionsStatemachine implements ILocalReactionsStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -123,14 +119,6 @@ public class LocalReactionsStatemachine implements ILocalReactionsStatemachine {
 		sCInterface.setX(sCInterface.getX() + 1);
 	}
 
-	/* Entry action for statechart 'LocalReactions'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'LocalReactions'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/logicaland/LogicalAndStatemachine.java

@@ -66,15 +66,11 @@ public class LogicalAndStatemachine implements ILogicalAndStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -151,14 +147,6 @@ public class LogicalAndStatemachine implements ILogicalAndStatemachine {
 		enterSequence_main_region_A_default();
 	}
 
-	/* Entry action for statechart 'LogicalAnd'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'LogicalAnd'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/logicalor/LogicalOrStatemachine.java

@@ -66,15 +66,11 @@ public class LogicalOrStatemachine implements ILogicalOrStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -151,14 +147,6 @@ public class LogicalOrStatemachine implements ILogicalOrStatemachine {
 		enterSequence_main_region_A_default();
 	}
 
-	/* Entry action for statechart 'LogicalOr'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'LogicalOr'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/namedinterfaceaccess/NamedInterfaceAccessStatemachine.java

@@ -134,8 +134,6 @@ public class NamedInterfaceAccessStatemachine implements INamedInterfaceAccessSt
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_region_1_default();
 
 		enterSequence__region1_default();
@@ -145,8 +143,6 @@ public class NamedInterfaceAccessStatemachine implements INamedInterfaceAccessSt
 		exitSequence_region_1();
 
 		exitSequence__region1();
-
-		exitAction();
 	}
 
 	/**
@@ -291,10 +287,6 @@ public class NamedInterfaceAccessStatemachine implements INamedInterfaceAccessSt
 		enterSequence__region1_Closed_default();
 	}
 
-	/* Entry action for statechart 'NamedInterfaceAccess'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'Idle'. */
 	private void entryAction_region_1_Idle() {
 		sCISafe.raiseClose();
@@ -305,10 +297,6 @@ public class NamedInterfaceAccessStatemachine implements INamedInterfaceAccessSt
 		sCISafe.raiseOpen();
 	}
 
-	/* Exit action for state 'NamedInterfaceAccess'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state Idle */
 	private void enterSequence_region_1_Idle_default() {
 		entryAction_region_1_Idle();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/nullcheck/NullCheckStatemachine.java

@@ -32,15 +32,11 @@ public class NullCheckStatemachine implements INullCheckStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -97,14 +93,6 @@ public class NullCheckStatemachine implements INullCheckStatemachine {
 		enterSequence_main_region_B_default();
 	}
 
-	/* Entry action for statechart 'NullCheck'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'NullCheck'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/operations/OperationsStatemachine.java

@@ -81,15 +81,11 @@ public class OperationsStatemachine implements IOperationsStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -186,10 +182,6 @@ public class OperationsStatemachine implements IOperationsStatemachine {
 		enterSequence_main_region_B_default();
 	}
 
-	/* Entry action for statechart 'Operations'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'B'. */
 	private void entryAction_main_region_B() {
 		operationCallback.internalOperation1();
@@ -247,10 +239,6 @@ public class OperationsStatemachine implements IOperationsStatemachine {
 		sCInterface.operationCallback.unnamedOperation5a("");
 	}
 
-	/* Exit action for state 'Operations'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state B */
 	private void enterSequence_main_region_B_default() {
 		entryAction_main_region_B();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/operationswithoutbraces/OperationsWithoutBracesStatemachine.java

@@ -45,8 +45,6 @@ public class OperationsWithoutBracesStatemachine implements IOperationsWithoutBr
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 
 		enterSequence_another_region_default();
@@ -56,8 +54,6 @@ public class OperationsWithoutBracesStatemachine implements IOperationsWithoutBr
 		exitSequence_main_region();
 
 		exitSequence_another_region();
-
-		exitAction();
 	}
 
 	/**
@@ -180,14 +176,6 @@ public class OperationsWithoutBracesStatemachine implements IOperationsWithoutBr
 		enterSequence_another_region_D_default();
 	}
 
-	/* Entry action for statechart 'OperationsWithoutBraces'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'OperationsWithoutBraces'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/outeventlifecycle/OutEventLifeCycleStatemachine.java

@@ -85,8 +85,6 @@ public class OutEventLifeCycleStatemachine implements IOutEventLifeCycleStatemac
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_r1_default();
 
 		enterSequence_r2_default();
@@ -96,8 +94,6 @@ public class OutEventLifeCycleStatemachine implements IOutEventLifeCycleStatemac
 		exitSequence_r1();
 
 		exitSequence_r2();
-
-		exitAction();
 	}
 
 	/**
@@ -202,14 +198,6 @@ public class OutEventLifeCycleStatemachine implements IOutEventLifeCycleStatemac
 		sCInterface.setF_available_in_cycle(true);
 	}
 
-	/* Entry action for statechart 'OutEventLifeCycle'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'OutEventLifeCycle'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_r1_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/parenthesis/ParenthesisStatemachine.java

@@ -50,15 +50,11 @@ public class ParenthesisStatemachine implements IParenthesisStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_mainRegion_default();
 	}
 
 	public void exit() {
 		exitSequence_mainRegion();
-
-		exitAction();
 	}
 
 	/**
@@ -115,19 +111,11 @@ public class ParenthesisStatemachine implements IParenthesisStatemachine {
 		sCInterface.setErg(value);
 	}
 
-	/* Entry action for statechart 'Parenthesis'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'A'. */
 	private void entryAction_mainRegion_A() {
 		sCInterface.setErg(4 * (3 - 1));
 	}
 
-	/* Exit action for state 'Parenthesis'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_mainRegion_A_default() {
 		entryAction_mainRegion_A();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/priorityvalues/PriorityValuesStatemachine.java

@@ -56,8 +56,6 @@ public class PriorityValuesStatemachine implements IPriorityValuesStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_someRegion_default();
 
 		enterSequence_main_region_default();
@@ -67,8 +65,6 @@ public class PriorityValuesStatemachine implements IPriorityValuesStatemachine {
 		exitSequence_someRegion();
 
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -187,14 +183,6 @@ public class PriorityValuesStatemachine implements IPriorityValuesStatemachine {
 		enterSequence_main_region_E_default();
 	}
 
-	/* Entry action for statechart 'PriorityValues'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'PriorityValues'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_someRegion_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/raiseevent/RaiseEventStatemachine.java

@@ -62,8 +62,6 @@ public class RaiseEventStatemachine implements IRaiseEventStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 
 		enterSequence_second_region_default();
@@ -73,8 +71,6 @@ public class RaiseEventStatemachine implements IRaiseEventStatemachine {
 		exitSequence_main_region();
 
 		exitSequence_second_region();
-
-		exitAction();
 	}
 
 	/**
@@ -158,19 +154,11 @@ public class RaiseEventStatemachine implements IRaiseEventStatemachine {
 		enterSequence_second_region_StateB_default();
 	}
 
-	/* Entry action for statechart 'RaiseEvent'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'StateB'. */
 	private void entryAction_main_region_StateB() {
 		sCInterface.raiseE1();
 	}
 
-	/* Exit action for state 'RaiseEvent'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state StateA */
 	private void enterSequence_main_region_StateA_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/readonlyvariable/ReadOnlyVariableStatemachine.java

@@ -141,15 +141,11 @@ public class ReadOnlyVariableStatemachine implements IReadOnlyVariableStatemachi
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -229,10 +225,6 @@ public class ReadOnlyVariableStatemachine implements IReadOnlyVariableStatemachi
 		enterSequence_main_region_StateB_default();
 	}
 
-	/* Entry action for statechart 'ReadOnlyVariable'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'StateB'. */
 	private void entryAction_main_region_StateB() {
 		sCInterface.setMyInt(100);
@@ -252,10 +244,6 @@ public class ReadOnlyVariableStatemachine implements IReadOnlyVariableStatemachi
 		sCIA.setMyReal(7.7);
 	}
 
-	/* Exit action for state 'ReadOnlyVariable'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state StateB */
 	private void enterSequence_main_region_StateB_default() {
 		entryAction_main_region_StateB();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/realexpressions/RealExpressionsStatemachine.java

@@ -316,15 +316,11 @@ public class RealExpressionsStatemachine implements IRealExpressionsStatemachine
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -545,10 +541,6 @@ public class RealExpressionsStatemachine implements IRealExpressionsStatemachine
 		enterSequence_main_region_StateB_default();
 	}
 
-	/* Entry action for statechart 'RealExpressions'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'StateA'. */
 	private void entryAction_main_region_StateA() {
 		sCInterface.setMyReal1(5.3);
@@ -603,10 +595,6 @@ public class RealExpressionsStatemachine implements IRealExpressionsStatemachine
 				.setModuloAssign((-0.1 <= (sCInterface.assignMyReal1(sCInterface.getMyReal1() % sCInterface.myReal1))));
 	}
 
-	/* Exit action for state 'RealExpressions'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state StateA */
 	private void enterSequence_main_region_StateA_default() {
 		entryAction_main_region_StateA();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/samenamedifferentregion/SameNameDifferentRegionStatemachine.java

@@ -49,15 +49,11 @@ public class SameNameDifferentRegionStatemachine implements ISameNameDifferentRe
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -138,14 +134,6 @@ public class SameNameDifferentRegionStatemachine implements ISameNameDifferentRe
 		enterSequence_main_region_StateB_r1_StateB_default();
 	}
 
-	/* Entry action for statechart 'SameNameDifferentRegion'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'SameNameDifferentRegion'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state StateA */
 	private void enterSequence_main_region_StateA_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/shallowhistory/ShallowHistoryStatemachine.java

@@ -102,15 +102,11 @@ public class ShallowHistoryStatemachine implements IShallowHistoryStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_mainRegion_default();
 	}
 
 	public void exit() {
 		exitSequence_mainRegion();
-
-		exitAction();
 	}
 
 	/**
@@ -286,14 +282,6 @@ public class ShallowHistoryStatemachine implements IShallowHistoryStatemachine {
 		enterSequence_mainRegion_State2__region0_State4__region0_State7__region0_State8_default();
 	}
 
-	/* Entry action for statechart 'ShallowHistory'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'ShallowHistory'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state State1 */
 	private void enterSequence_mainRegion_State1_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/shallowhistorywithdeepentry/ShallowHistoryWithDeepEntryStatemachine.java

@@ -74,15 +74,11 @@ public class ShallowHistoryWithDeepEntryStatemachine implements IShallowHistoryW
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -209,14 +205,6 @@ public class ShallowHistoryWithDeepEntryStatemachine implements IShallowHistoryW
 		enterSequence_main_region_Z__region0_A_default();
 	}
 
-	/* Entry action for statechart 'ShallowHistoryWithDeepEntry'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'ShallowHistoryWithDeepEntry'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state Y */
 	private void enterSequence_main_region_Y_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/simpleevent/SimpleEventStatemachine.java

@@ -49,15 +49,11 @@ public class SimpleEventStatemachine implements ISimpleEventStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -133,14 +129,6 @@ public class SimpleEventStatemachine implements ISimpleEventStatemachine {
 		enterSequence_main_region__final__default();
 	}
 
-	/* Entry action for statechart 'SimpleEvent'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'SimpleEvent'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/simplehierachy/SimpleHierachyStatemachine.java

@@ -49,15 +49,11 @@ public class SimpleHierachyStatemachine implements ISimpleHierachyStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -126,14 +122,6 @@ public class SimpleHierachyStatemachine implements ISimpleHierachyStatemachine {
 		enterSequence_main_region_B_default();
 	}
 
-	/* Entry action for statechart 'SimpleHierachy'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'SimpleHierachy'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/statechartactive/StatechartActiveStatemachine.java

@@ -32,15 +32,11 @@ public class StatechartActiveStatemachine implements IStatechartActiveStatemachi
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_r_default();
 	}
 
 	public void exit() {
 		exitSequence_r();
-
-		exitAction();
 	}
 
 	/**
@@ -85,14 +81,6 @@ public class StatechartActiveStatemachine implements IStatechartActiveStatemachi
 		}
 	}
 
-	/* Entry action for statechart 'StatechartActive'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'StatechartActive'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_r_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/statechartlocalreactions/StatechartLocalReactionsStatemachine.java

@@ -50,8 +50,6 @@ public class StatechartLocalReactionsStatemachine implements IStatechartLocalRea
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 
 		enterSequence_region2_default();
@@ -61,8 +59,6 @@ public class StatechartLocalReactionsStatemachine implements IStatechartLocalRea
 		exitSequence_main_region();
 
 		exitSequence_region2();
-
-		exitAction();
 	}
 
 	/**
@@ -159,14 +155,6 @@ public class StatechartLocalReactionsStatemachine implements IStatechartLocalRea
 		enterSequence_main_region_S1_default();
 	}
 
-	/* Entry action for statechart 'StatechartLocalReactions'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'StatechartLocalReactions'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state S1 */
 	private void enterSequence_main_region_S1_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/stateisactive/StateIsActiveStatemachine.java

@@ -49,8 +49,6 @@ public class StateIsActiveStatemachine implements IStateIsActiveStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_R1_default();
 
 		enterSequence_R2_default();
@@ -60,8 +58,6 @@ public class StateIsActiveStatemachine implements IStateIsActiveStatemachine {
 		exitSequence_R1();
 
 		exitSequence_R2();
-
-		exitAction();
 	}
 
 	/**
@@ -141,14 +137,6 @@ public class StateIsActiveStatemachine implements IStateIsActiveStatemachine {
 		enterSequence_R2_R2B_default();
 	}
 
-	/* Entry action for statechart 'StateIsActive'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'StateIsActive'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state R1A */
 	private void enterSequence_R1_R1A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/staticchoice/StaticChoiceStatemachine.java

@@ -60,15 +60,11 @@ public class StaticChoiceStatemachine implements IStaticChoiceStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -162,19 +158,11 @@ public class StaticChoiceStatemachine implements IStaticChoiceStatemachine {
 		enterSequence_main_region_B_default();
 	}
 
-	/* Entry action for statechart 'StaticChoice'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'Start'. */
 	private void entryAction_main_region_Start() {
 		sCInterface.setNumber(1);
 	}
 
-	/* Exit action for state 'StaticChoice'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state Start */
 	private void enterSequence_main_region_Start_default() {
 		entryAction_main_region_Start();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/stextkeywordsinstatesandregions/STextKeywordsInStatesAndRegionsStatemachine.java

@@ -56,8 +56,6 @@ public class STextKeywordsInStatesAndRegionsStatemachine implements ISTextKeywor
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_default_default();
 
 		enterSequence_operation_default();
@@ -139,8 +137,6 @@ public class STextKeywordsInStatesAndRegionsStatemachine implements ISTextKeywor
 		exitSequence_valueof();
 
 		exitSequence_active();
-
-		exitAction();
 	}
 
 	/**
@@ -472,14 +468,6 @@ public class STextKeywordsInStatesAndRegionsStatemachine implements ISTextKeywor
 		enterSequence_active_valueof_default();
 	}
 
-	/* Entry action for statechart 'STextKeywordsInStatesAndRegions'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'STextKeywordsInStatesAndRegions'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state namespace */
 	private void enterSequence_default_namespace_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/stringexpressions/StringExpressionsStatemachine.java

@@ -156,15 +156,11 @@ public class StringExpressionsStatemachine implements IStringExpressionsStatemac
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -600,10 +596,6 @@ public class StringExpressionsStatemachine implements IStringExpressionsStatemac
 		react_main_region__choice_10();
 	}
 
-	/* Entry action for statechart 'StringExpressions'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'AssignmentChecked'. */
 	private void entryAction_main_region_AssignmentChecked() {
 		sCInterface.setStringVarNotEqual(!(sCInterface.stringA == null
@@ -615,10 +607,6 @@ public class StringExpressionsStatemachine implements IStringExpressionsStatemac
 				: !sCInterface.stringA.equals(sCInterface.stringA2)));
 	}
 
-	/* Exit action for state 'StringExpressions'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state AssignmentChecked */
 	private void enterSequence_main_region_AssignmentChecked_default() {
 		entryAction_main_region_AssignmentChecked();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/syncfork/SyncForkStatemachine.java

@@ -56,15 +56,11 @@ public class SyncForkStatemachine implements ISyncForkStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -182,14 +178,6 @@ public class SyncForkStatemachine implements ISyncForkStatemachine {
 		enterSequence_main_region_B_r2_D2_default();
 	}
 
-	/* Entry action for statechart 'SyncFork'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'SyncFork'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/syncjoin/SyncJoinStatemachine.java

@@ -81,15 +81,11 @@ public class SyncJoinStatemachine implements ISyncJoinStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -221,19 +217,11 @@ public class SyncJoinStatemachine implements ISyncJoinStatemachine {
 		react_main_region__sync0();
 	}
 
-	/* Entry action for statechart 'SyncJoin'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'A'. */
 	private void entryAction_main_region_A() {
 		sCInterface.setX(sCInterface.getX() + 1);
 	}
 
-	/* Exit action for state 'SyncJoin'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		entryAction_main_region_A();

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/timedtransitions/TimedTransitionsStatemachine.java

@@ -43,15 +43,11 @@ public class TimedTransitionsStatemachine implements ITimedTransitionsStatemachi
 		if (timer == null) {
 			throw new IllegalStateException("timer not set.");
 		}
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -135,20 +131,12 @@ public class TimedTransitionsStatemachine implements ITimedTransitionsStatemachi
 		enterSequence_main_region_End_default();
 	}
 
-	/* Entry action for statechart 'TimedTransitions'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'Start'. */
 	private void entryAction_main_region_Start() {
 
 		timer.setTimer(this, 0, 2 * 1000, false);
 	}
 
-	/* Exit action for state 'TimedTransitions'. */
-	private void exitAction() {
-	}
-
 	/* Exit action for state 'Start'. */
 	private void exitAction_main_region_Start() {
 		timer.unsetTimer(this, 0);

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/transitionwithoutcondition/TransitionWithoutConditionStatemachine.java

@@ -32,15 +32,11 @@ public class TransitionWithoutConditionStatemachine implements ITransitionWithou
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -97,14 +93,6 @@ public class TransitionWithoutConditionStatemachine implements ITransitionWithou
 		enterSequence_main_region_B_default();
 	}
 
-	/* Entry action for statechart 'TransitionWithoutCondition'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'TransitionWithoutCondition'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/triggerguardexpressions/TriggerGuardExpressionsStatemachine.java

@@ -67,15 +67,11 @@ public class TriggerGuardExpressionsStatemachine implements ITriggerGuardExpress
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
 		exitSequence_main_region();
-
-		exitAction();
 	}
 
 	/**
@@ -162,14 +158,6 @@ public class TriggerGuardExpressionsStatemachine implements ITriggerGuardExpress
 		enterSequence_main_region_A_default();
 	}
 
-	/* Entry action for statechart 'TriggerGuardExpressions'. */
-	private void entryAction() {
-	}
-
-	/* Exit action for state 'TriggerGuardExpressions'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
 		nextStateIndex = 0;

+ 0 - 12
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/valuedevents/ValuedEventsStatemachine.java

@@ -153,8 +153,6 @@ public class ValuedEventsStatemachine implements IValuedEventsStatemachine {
 			throw new IllegalStateException(
 					"The statemachine needs to be initialized first by calling the init() function.");
 
-		entryAction();
-
 		enterSequence_main_region1_default();
 
 		enterSequence_integer_region_default();
@@ -176,8 +174,6 @@ public class ValuedEventsStatemachine implements IValuedEventsStatemachine {
 		exitSequence_real_region();
 
 		exitSequence_string_region();
-
-		exitAction();
 	}
 
 	/**
@@ -391,10 +387,6 @@ public class ValuedEventsStatemachine implements IValuedEventsStatemachine {
 		enterSequence_string_region_D_default();
 	}
 
-	/* Entry action for statechart 'ValuedEvents'. */
-	private void entryAction() {
-	}
-
 	/* Entry action for state 'A'. */
 	private void entryAction_main_region1_A() {
 		sCInterface.raiseIntegerEvent(2 * 21);
@@ -406,10 +398,6 @@ public class ValuedEventsStatemachine implements IValuedEventsStatemachine {
 		sCInterface.raiseStringEvent("sct");
 	}
 
-	/* Exit action for state 'ValuedEvents'. */
-	private void exitAction() {
-	}
-
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region1_A_default() {
 		entryAction_main_region1_A();