Переглянути джерело

#129 regenerated java test cases

Andreas Muelder 9 роки тому
батько
коміт
fc70b1e2e1
100 змінених файлів з 1024 додано та 404 видалено
  1. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/alwaysoncycle/AlwaysOncycleStatemachine.java
  2. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/assignmentasexpression/AssignmentAsExpressionStatemachine.java
  3. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/bitexpressions/BitExpressionsStatemachine.java
  4. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/booleanexpressions/BooleanExpressionsStatemachine.java
  5. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/castexpressions/CastExpressionsStatemachine.java
  6. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/choice/ChoiceStatemachine.java
  7. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/ckeywords/CKeywordsStatemachine.java
  8. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/conditionalexpressions/ConditionalExpressionsStatemachine.java
  9. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/constants/ConstantsStatemachine.java
  10. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/declarations/DeclarationsStatemachine.java
  11. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/deepentry/DeepEntryStatemachine.java
  12. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/deephistory/DeepHistoryStatemachine.java
  13. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/dynamicchoice/DynamicChoiceStatemachine.java
  14. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/emptytransition/EmptyTransitionStatemachine.java
  15. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/enterstate/EnterStateStatemachine.java
  16. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/entrychoice/EntryChoiceStatemachine.java
  17. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/entryexitselftransition/EntryExitSelfTransitionStatemachine.java
  18. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/exitonselftransition/ExitOnSelfTransitionStatemachine.java
  19. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/exitstate/ExitStateStatemachine.java
  20. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/featurecalls/FeatureCallsStatemachine.java
  21. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/finalstate/FinalStateStatemachine.java
  22. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/guard/GuardStatemachine.java
  23. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/guardedentry/GuardedEntryStatemachine.java
  24. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/guardedexit/GuardedExitStatemachine.java
  25. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/historywithexitpoint/HistoryWithExitPointStatemachine.java
  26. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/historywithoutinitialstep/HistoryWithoutInitialStepStatemachine.java
  27. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/ineventlifecycle/InEventLifeCycleStatemachine.java
  28. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/integerexpressions/IntegerExpressionsStatemachine.java
  29. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/internaleventlifecycle/InternalEventLifeCycleStatemachine.java
  30. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/javakeywords/JavaKeywordsStatemachine.java
  31. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/localreactions/LocalReactionsStatemachine.java
  32. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/logicaland/LogicalAndStatemachine.java
  33. 0 1
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/logicalor/ILogicalOrStatemachine.java
  34. 11 37
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/logicalor/LogicalOrStatemachine.java
  35. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/namedinterfaceaccess/NamedInterfaceAccessStatemachine.java
  36. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/nullcheck/NullCheckStatemachine.java
  37. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/operations/OperationsStatemachine.java
  38. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/operationswithoutbraces/OperationsWithoutBracesStatemachine.java
  39. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/outeventlifecycle/OutEventLifeCycleStatemachine.java
  40. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/parenthesis/ParenthesisStatemachine.java
  41. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/performancetest/PerformanceTestStatemachine.java
  42. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/priorityvalues/PriorityValuesStatemachine.java
  43. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/raiseevent/RaiseEventStatemachine.java
  44. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/readonlyvariable/ReadOnlyVariableStatemachine.java
  45. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/realexpressions/RealExpressionsStatemachine.java
  46. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/samenamedifferentregion/SameNameDifferentRegionStatemachine.java
  47. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/shallowhistory/ShallowHistoryStatemachine.java
  48. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/shallowhistorywithdeepentry/ShallowHistoryWithDeepEntryStatemachine.java
  49. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/simpleevent/SimpleEventStatemachine.java
  50. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/simplehierachy/SimpleHierachyStatemachine.java
  51. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/statechartactive/StatechartActiveStatemachine.java
  52. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/statechartlocalreactions/StatechartLocalReactionsStatemachine.java
  53. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/stateisactive/StateIsActiveStatemachine.java
  54. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/staticchoice/StaticChoiceStatemachine.java
  55. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/stextkeywordsinstatesandregions/STextKeywordsInStatesAndRegionsStatemachine.java
  56. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/stringexpressions/StringExpressionsStatemachine.java
  57. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/syncfork/SyncForkStatemachine.java
  58. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/syncjoin/SyncJoinStatemachine.java
  59. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/timedtransitions/TimedTransitionsStatemachine.java
  60. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/transitionwithoutcondition/TransitionWithoutConditionStatemachine.java
  61. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/triggerguardexpressions/TriggerGuardExpressionsStatemachine.java
  62. 11 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/valuedevents/ValuedEventsStatemachine.java
  63. 24 34
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/AllTestsTest.java
  64. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/AlwaysOncycleTest.java
  65. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/AssignmentAsExpressionTest.java
  66. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/BitExpressionsTest.java
  67. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/BooleanExpressionsTest.java
  68. 10 11
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/CKeywordsTest.java
  69. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/CastExpressionsTest.java
  70. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/ChoiceTest.java
  71. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/ConditionalExpressionTest.java
  72. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/ConstantsTestsTest.java
  73. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/DeclarationsTest.java
  74. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/DeepEntryTest.java
  75. 13 15
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/DeepHistoryTest.java
  76. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/DynamicChoiceTest.java
  77. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/EnterStateTest.java
  78. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/EntryChoiceTest.java
  79. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/EntryExitSelfTransitionTest.java
  80. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/ExitOnSelfTransitionTest.java
  81. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/ExitStateTest.java
  82. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/FeatureCallsTest.java
  83. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/FinalStateTest.java
  84. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/GuardTest.java
  85. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/GuardedEntryTest.java
  86. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/GuardedExitTest.java
  87. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/HistoryWithExitPointTest.java
  88. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/HistoryWithoutInitialStepTest.java
  89. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/InEventLifeCycleTest.java
  90. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/IntegerExpressionsTest.java
  91. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/InternalEventLifeCycleTest.java
  92. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/LocalReactionsTest.java
  93. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/LogicalAndTestsTest.java
  94. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/LogicalOrTestsTest.java
  95. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/NamedInterfaceAccessTest.java
  96. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/NullCheckTest.java
  97. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/OutEventLifeCycleTest.java
  98. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/ParenthesisTest.java
  99. 9 9
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/PerformanceTestsTest.java
  100. 0 0
      test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/PriorityValuesTest.java

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

@@ -28,6 +28,8 @@ public class AlwaysOncycleStatemachine implements IAlwaysOncycleStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_StateA, main_region_StateB, $NullState$
 	};
@@ -42,6 +44,7 @@ public class AlwaysOncycleStatemachine implements IAlwaysOncycleStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -55,12 +58,17 @@ public class AlwaysOncycleStatemachine implements IAlwaysOncycleStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -256,6 +264,9 @@ public class AlwaysOncycleStatemachine implements IAlwaysOncycleStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -278,6 +278,8 @@ public class AssignmentAsExpressionStatemachine implements IAssignmentAsExpressi
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_Add, main_region_Multiply, main_region_Divide, main_region_Modulo, main_region_Shift, main_region_boolean_And, main_region_boolean_Or, main_region_boolean_Xor, main_region_Subtract, $NullState$
 	};
@@ -292,6 +294,7 @@ public class AssignmentAsExpressionStatemachine implements IAssignmentAsExpressi
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -347,12 +350,17 @@ public class AssignmentAsExpressionStatemachine implements IAssignmentAsExpressi
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -942,6 +950,9 @@ public class AssignmentAsExpressionStatemachine implements IAssignmentAsExpressi
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -98,6 +98,8 @@ public class BitExpressionsStatemachine implements IBitExpressionsStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_StateA, main_region_StateB, $NullState$
 	};
@@ -112,6 +114,7 @@ public class BitExpressionsStatemachine implements IBitExpressionsStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -137,12 +140,17 @@ public class BitExpressionsStatemachine implements IBitExpressionsStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -364,6 +372,9 @@ public class BitExpressionsStatemachine implements IBitExpressionsStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -88,6 +88,8 @@ public class BooleanExpressionsStatemachine implements IBooleanExpressionsStatem
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_StateA, main_region_StateB, $NullState$
 	};
@@ -102,6 +104,7 @@ public class BooleanExpressionsStatemachine implements IBooleanExpressionsStatem
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -125,12 +128,17 @@ public class BooleanExpressionsStatemachine implements IBooleanExpressionsStatem
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -343,6 +351,9 @@ public class BooleanExpressionsStatemachine implements IBooleanExpressionsStatem
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -28,6 +28,8 @@ public class CastExpressionsStatemachine implements ICastExpressionsStatemachine
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, main_region_C, $NullState$
 	};
@@ -42,6 +44,7 @@ public class CastExpressionsStatemachine implements ICastExpressionsStatemachine
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -55,12 +58,17 @@ public class CastExpressionsStatemachine implements ICastExpressionsStatemachine
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -257,6 +265,9 @@ public class CastExpressionsStatemachine implements ICastExpressionsStatemachine
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -49,6 +49,8 @@ public class ChoiceStatemachine implements IChoiceStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, main_region_C, $NullState$
 	};
@@ -63,6 +65,7 @@ public class ChoiceStatemachine implements IChoiceStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -74,12 +77,17 @@ public class ChoiceStatemachine implements IChoiceStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -421,6 +429,9 @@ public class ChoiceStatemachine implements IChoiceStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -285,6 +285,8 @@ public class CKeywordsStatemachine implements ICKeywordsStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		auto_char, auto_loop, auto_loop_switch_case, auto_loop_switch_case_enum_asm, $NullState$
 	};
@@ -300,6 +302,7 @@ public class CKeywordsStatemachine implements ICKeywordsStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -364,12 +367,17 @@ public class CKeywordsStatemachine implements ICKeywordsStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_auto_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_auto();
 
 		exitAction();
@@ -908,6 +916,9 @@ public class CKeywordsStatemachine implements ICKeywordsStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -38,6 +38,8 @@ public class ConditionalExpressionsStatemachine implements IConditionalExpressio
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, $NullState$
 	};
@@ -52,6 +54,7 @@ public class ConditionalExpressionsStatemachine implements IConditionalExpressio
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -65,12 +68,17 @@ public class ConditionalExpressionsStatemachine implements IConditionalExpressio
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -238,6 +246,9 @@ public class ConditionalExpressionsStatemachine implements IConditionalExpressio
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -66,6 +66,8 @@ public class ConstantsStatemachine implements IConstantsStatemachine {
 
 	protected SCINamedImpl sCINamed;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, main_region_C, $NullState$
 	};
@@ -85,6 +87,7 @@ public class ConstantsStatemachine implements IConstantsStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -96,12 +99,17 @@ public class ConstantsStatemachine implements IConstantsStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -326,6 +334,9 @@ public class ConstantsStatemachine implements IConstantsStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -304,6 +304,8 @@ public class DeclarationsStatemachine implements IDeclarationsStatemachine {
 
 	protected SCIIfAImpl sCIIfA;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, $NullState$
 	};
@@ -389,6 +391,7 @@ public class DeclarationsStatemachine implements IDeclarationsStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -428,12 +431,17 @@ public class DeclarationsStatemachine implements IDeclarationsStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -774,6 +782,9 @@ public class DeclarationsStatemachine implements IDeclarationsStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -55,6 +55,8 @@ public class DeepEntryStatemachine implements IDeepEntryStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		r_A, r_A_r_B, r2_B, r2_B_r_BA, r2_B_r_BA_r_BAA, r2_B_r_BB, r2_C, r3_D, r3_D_r_DA, r3_D_r_DA_r_DAA, $NullState$
 	};
@@ -70,6 +72,7 @@ public class DeepEntryStatemachine implements IDeepEntryStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 3; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -88,6 +91,10 @@ public class DeepEntryStatemachine implements IDeepEntryStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_r_default();
@@ -98,6 +105,7 @@ public class DeepEntryStatemachine implements IDeepEntryStatemachine {
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_r();
 
 		exitSequence_r2();
@@ -627,6 +635,9 @@ public class DeepEntryStatemachine implements IDeepEntryStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -74,6 +74,8 @@ public class DeepHistoryStatemachine implements IDeepHistoryStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		mainRegion_State1, mainRegion_State2, mainRegion_State2__region0_a, mainRegion_State2__region0_State4, mainRegion_State2__region0_State4__region0_State6, mainRegion_State2__region0_State4__region0_State7, mainRegion_State2__region0_State4__region0_State7__region0_State8, mainRegion_State2__region0_State4__region0_State7__region0_State9, mainRegion_State2__region0_State5, $NullState$
 	};
@@ -89,6 +91,7 @@ public class DeepHistoryStatemachine implements IDeepHistoryStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -102,12 +105,17 @@ public class DeepHistoryStatemachine implements IDeepHistoryStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_mainRegion_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_mainRegion();
 
 		exitAction();
@@ -698,6 +706,9 @@ public class DeepHistoryStatemachine implements IDeepHistoryStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -28,6 +28,8 @@ public class DynamicChoiceStatemachine implements IDynamicChoiceStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_Start, main_region_A, main_region_B, $NullState$
 	};
@@ -42,6 +44,7 @@ public class DynamicChoiceStatemachine implements IDynamicChoiceStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -53,12 +56,17 @@ public class DynamicChoiceStatemachine implements IDynamicChoiceStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -259,6 +267,9 @@ public class DynamicChoiceStatemachine implements IDynamicChoiceStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -2,6 +2,8 @@ package org.yakindu.scr.emptytransition;
 
 public class EmptyTransitionStatemachine implements IEmptyTransitionStatemachine {
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, $NullState$
 	};
@@ -15,6 +17,7 @@ public class EmptyTransitionStatemachine implements IEmptyTransitionStatemachine
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -25,12 +28,17 @@ public class EmptyTransitionStatemachine implements IEmptyTransitionStatemachine
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -147,6 +155,9 @@ public class EmptyTransitionStatemachine implements IEmptyTransitionStatemachine
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -32,6 +32,8 @@ public class EnterStateStatemachine implements IEnterStateStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		r_A, r_B, r_B_r_E, r_B_r_F, $NullState$
 	};
@@ -46,6 +48,7 @@ public class EnterStateStatemachine implements IEnterStateStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -56,12 +59,17 @@ public class EnterStateStatemachine implements IEnterStateStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_r_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_r();
 
 		exitAction();
@@ -310,6 +318,9 @@ public class EnterStateStatemachine implements IEnterStateStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -2,6 +2,8 @@ package org.yakindu.scr.entrychoice;
 
 public class EntryChoiceStatemachine implements IEntryChoiceStatemachine {
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, $NullState$
 	};
@@ -15,6 +17,7 @@ public class EntryChoiceStatemachine implements IEntryChoiceStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -25,12 +28,17 @@ public class EntryChoiceStatemachine implements IEntryChoiceStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -138,6 +146,9 @@ public class EntryChoiceStatemachine implements IEntryChoiceStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -45,6 +45,8 @@ public class EntryExitSelfTransitionStatemachine implements IEntryExitSelfTransi
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_A__region0_B, main_region_A__region0_C, $NullState$
 	};
@@ -59,6 +61,7 @@ public class EntryExitSelfTransitionStatemachine implements IEntryExitSelfTransi
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -72,12 +75,17 @@ public class EntryExitSelfTransitionStatemachine implements IEntryExitSelfTransi
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -324,6 +332,9 @@ public class EntryExitSelfTransitionStatemachine implements IEntryExitSelfTransi
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -45,6 +45,8 @@ public class ExitOnSelfTransitionStatemachine implements IExitOnSelfTransitionSt
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, $NullState$
 	};
@@ -59,6 +61,7 @@ public class ExitOnSelfTransitionStatemachine implements IExitOnSelfTransitionSt
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -72,12 +75,17 @@ public class ExitOnSelfTransitionStatemachine implements IExitOnSelfTransitionSt
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -275,6 +283,9 @@ public class ExitOnSelfTransitionStatemachine implements IExitOnSelfTransitionSt
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -32,6 +32,8 @@ public class ExitStateStatemachine implements IExitStateStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		r_A, r_A_r_B, r_E, r_F, $NullState$
 	};
@@ -46,6 +48,7 @@ public class ExitStateStatemachine implements IExitStateStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -56,12 +59,17 @@ public class ExitStateStatemachine implements IExitStateStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_r_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_r();
 
 		exitAction();
@@ -318,6 +326,9 @@ public class ExitStateStatemachine implements IExitStateStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -28,6 +28,8 @@ public class FeatureCallsStatemachine implements IFeatureCallsStatemachine {
 
 	protected SCIMyInterfaceImpl sCIMyInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, $NullState$
 	};
@@ -42,6 +44,7 @@ public class FeatureCallsStatemachine implements IFeatureCallsStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -53,12 +56,17 @@ public class FeatureCallsStatemachine implements IFeatureCallsStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -215,6 +223,9 @@ public class FeatureCallsStatemachine implements IFeatureCallsStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -2,6 +2,8 @@ package org.yakindu.scr.finalstate;
 
 public class FinalStateStatemachine implements IFinalStateStatemachine {
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_myState, main_region__final_, $NullState$
 	};
@@ -15,6 +17,7 @@ public class FinalStateStatemachine implements IFinalStateStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -25,12 +28,17 @@ public class FinalStateStatemachine implements IFinalStateStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -156,6 +164,9 @@ public class FinalStateStatemachine implements IFinalStateStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -42,6 +42,8 @@ public class GuardStatemachine implements IGuardStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, $NullState$
 	};
@@ -56,6 +58,7 @@ public class GuardStatemachine implements IGuardStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -67,12 +70,17 @@ public class GuardStatemachine implements IGuardStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -259,6 +267,9 @@ public class GuardStatemachine implements IGuardStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -38,6 +38,8 @@ public class GuardedEntryStatemachine implements IGuardedEntryStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, $NullState$
 	};
@@ -52,6 +54,7 @@ public class GuardedEntryStatemachine implements IGuardedEntryStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -65,12 +68,17 @@ public class GuardedEntryStatemachine implements IGuardedEntryStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -246,6 +254,9 @@ public class GuardedEntryStatemachine implements IGuardedEntryStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -38,6 +38,8 @@ public class GuardedExitStatemachine implements IGuardedExitStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, $NullState$
 	};
@@ -52,6 +54,7 @@ public class GuardedExitStatemachine implements IGuardedExitStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -65,12 +68,17 @@ public class GuardedExitStatemachine implements IGuardedExitStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -246,6 +254,9 @@ public class GuardedExitStatemachine implements IGuardedExitStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -32,6 +32,8 @@ public class HistoryWithExitPointStatemachine implements IHistoryWithExitPointSt
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		mr_A, mr_A_r_X1, mr_A_r_X2, mr_B, $NullState$
 	};
@@ -47,6 +49,7 @@ public class HistoryWithExitPointStatemachine implements IHistoryWithExitPointSt
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -60,12 +63,17 @@ public class HistoryWithExitPointStatemachine implements IHistoryWithExitPointSt
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_mr_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_mr();
 
 		exitAction();
@@ -361,6 +369,9 @@ public class HistoryWithExitPointStatemachine implements IHistoryWithExitPointSt
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -39,6 +39,8 @@ public class HistoryWithoutInitialStepStatemachine implements IHistoryWithoutIni
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, main_region_B_r1_C, main_region_B_r1_D, main_region_B_r1_E, main_region_B_r1_E__region0_F, $NullState$
 	};
@@ -54,6 +56,7 @@ public class HistoryWithoutInitialStepStatemachine implements IHistoryWithoutIni
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -67,12 +70,17 @@ public class HistoryWithoutInitialStepStatemachine implements IHistoryWithoutIni
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -452,6 +460,9 @@ public class HistoryWithoutInitialStepStatemachine implements IHistoryWithoutIni
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -28,6 +28,8 @@ public class InEventLifeCycleStatemachine implements IInEventLifeCycleStatemachi
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, $NullState$
 	};
@@ -42,6 +44,7 @@ public class InEventLifeCycleStatemachine implements IInEventLifeCycleStatemachi
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -53,12 +56,17 @@ public class InEventLifeCycleStatemachine implements IInEventLifeCycleStatemachi
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -181,6 +189,9 @@ public class InEventLifeCycleStatemachine implements IInEventLifeCycleStatemachi
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -218,6 +218,8 @@ public class IntegerExpressionsStatemachine implements IIntegerExpressionsStatem
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_StateA, main_region_StateB, $NullState$
 	};
@@ -232,6 +234,7 @@ public class IntegerExpressionsStatemachine implements IIntegerExpressionsStatem
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -281,12 +284,17 @@ public class IntegerExpressionsStatemachine implements IIntegerExpressionsStatem
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -614,6 +622,9 @@ public class IntegerExpressionsStatemachine implements IIntegerExpressionsStatem
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -25,6 +25,8 @@ public class InternalEventLifeCycleStatemachine implements IInternalEventLifeCyc
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		r1_A, r1_B, r2_C, r2_D, $NullState$
 	};
@@ -43,6 +45,7 @@ public class InternalEventLifeCycleStatemachine implements IInternalEventLifeCyc
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 2; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -53,6 +56,10 @@ public class InternalEventLifeCycleStatemachine implements IInternalEventLifeCyc
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_r1_default();
@@ -61,6 +68,7 @@ public class InternalEventLifeCycleStatemachine implements IInternalEventLifeCyc
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_r1();
 
 		exitSequence_r2();
@@ -329,6 +337,9 @@ public class InternalEventLifeCycleStatemachine implements IInternalEventLifeCyc
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -465,6 +465,8 @@ public class JavaKeywordsStatemachine implements IJavaKeywordsStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		goto_abstract, goto_boolean, goto_void, goto_void_volatile_transient, goto_void_volatile_transient_throw_false, goto_void_volatile_state, $NullState$
 	};
@@ -480,6 +482,7 @@ public class JavaKeywordsStatemachine implements IJavaKeywordsStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -580,12 +583,17 @@ public class JavaKeywordsStatemachine implements IJavaKeywordsStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_goto_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_goto();
 
 		exitAction();
@@ -1446,6 +1454,9 @@ public class JavaKeywordsStatemachine implements IJavaKeywordsStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -18,6 +18,8 @@ public class LocalReactionsStatemachine implements ILocalReactionsStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, $NullState$
 	};
@@ -32,6 +34,7 @@ public class LocalReactionsStatemachine implements ILocalReactionsStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -43,12 +46,17 @@ public class LocalReactionsStatemachine implements ILocalReactionsStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -166,6 +174,9 @@ public class LocalReactionsStatemachine implements ILocalReactionsStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -32,6 +32,8 @@ public class LogicalAndStatemachine implements ILogicalAndStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, $NullState$
 	};
@@ -46,6 +48,7 @@ public class LogicalAndStatemachine implements ILogicalAndStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -59,12 +62,17 @@ public class LogicalAndStatemachine implements ILogicalAndStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -194,6 +202,9 @@ public class LogicalAndStatemachine implements ILogicalAndStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -2,7 +2,6 @@ package org.yakindu.scr.logicalor;
 import org.yakindu.scr.IStatemachine;
 
 public interface ILogicalOrStatemachine extends IStatemachine {
-
 	public interface SCInterface {
 		public long getX();
 		public void setX(long value);

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

@@ -32,6 +32,8 @@ public class LogicalOrStatemachine implements ILogicalOrStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, $NullState$
 	};
@@ -40,36 +42,13 @@ public class LogicalOrStatemachine implements ILogicalOrStatemachine {
 
 	private int nextStateIndex;
 
-	private long y;
-
-	protected void setY(long value) {
-		y = value;
-	}
-
-	protected long getY() {
-		return y;
-	}
-
-	protected long assignY(long value) {
-		return this.y = value;
-	}
-
-	private long z;
-
-	protected void setZ(long value) {
-		z = value;
-	}
-
-	protected long getZ() {
-		return z;
-	}
-
 	public LogicalOrStatemachine() {
 
 		sCInterface = new SCInterfaceImpl();
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -80,19 +59,20 @@ public class LogicalOrStatemachine implements ILogicalOrStatemachine {
 		sCInterface.setX(1);
 
 		sCInterface.setB(false);
-
-		setY(2);
-
-		setZ(1);
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -176,21 +156,12 @@ public class LogicalOrStatemachine implements ILogicalOrStatemachine {
 	private void entryAction() {
 	}
 
-	/* Entry action for state 'A'. */
-	private void entryAction_main_region_A() {
-		setZ((assignY(getY() + 1)));
-
-		setZ(getZ() + 1);
-	}
-
 	/* Exit action for state 'LogicalOr'. */
 	private void exitAction() {
 	}
 
 	/* 'default' enter sequence for state A */
 	private void enterSequence_main_region_A_default() {
-		entryAction_main_region_A();
-
 		nextStateIndex = 0;
 		stateVector[0] = State.main_region_A;
 	}
@@ -231,6 +202,9 @@ public class LogicalOrStatemachine implements ILogicalOrStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -67,6 +67,8 @@ public class NamedInterfaceAccessStatemachine implements INamedInterfaceAccessSt
 
 	protected SCIUserImpl sCIUser;
 
+	private boolean initialized = false;
+
 	public enum State {
 		region_1_Idle, region_1_Number1Pressed, region_1_Number2Pressed, region_1_Number3Pressed, _region1_Closed, _region1_Open, $NullState$
 	};
@@ -112,6 +114,7 @@ public class NamedInterfaceAccessStatemachine implements INamedInterfaceAccessSt
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 2; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -127,6 +130,10 @@ public class NamedInterfaceAccessStatemachine implements INamedInterfaceAccessSt
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_region_1_default();
@@ -135,6 +142,7 @@ public class NamedInterfaceAccessStatemachine implements INamedInterfaceAccessSt
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_region_1();
 
 		exitSequence__region1();
@@ -489,6 +497,9 @@ public class NamedInterfaceAccessStatemachine implements INamedInterfaceAccessSt
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -2,6 +2,8 @@ package org.yakindu.scr.nullcheck;
 
 public class NullCheckStatemachine implements INullCheckStatemachine {
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, $NullState$
 	};
@@ -15,6 +17,7 @@ public class NullCheckStatemachine implements INullCheckStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -25,12 +28,17 @@ public class NullCheckStatemachine implements INullCheckStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -160,6 +168,9 @@ public class NullCheckStatemachine implements INullCheckStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -36,6 +36,8 @@ public class OperationsStatemachine implements IOperationsStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_B, main_region_C, main_region_D, main_region_A, $NullState$
 	};
@@ -63,6 +65,7 @@ public class OperationsStatemachine implements IOperationsStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -74,12 +77,17 @@ public class OperationsStatemachine implements IOperationsStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -356,6 +364,9 @@ public class OperationsStatemachine implements IOperationsStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -14,6 +14,8 @@ public class OperationsWithoutBracesStatemachine implements IOperationsWithoutBr
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, main_region_C, main_region_D, another_region_A, another_region_B, another_region_C, another_region_D, $NullState$
 	};
@@ -28,6 +30,7 @@ public class OperationsWithoutBracesStatemachine implements IOperationsWithoutBr
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 2; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -38,6 +41,10 @@ public class OperationsWithoutBracesStatemachine implements IOperationsWithoutBr
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
@@ -46,6 +53,7 @@ public class OperationsWithoutBracesStatemachine implements IOperationsWithoutBr
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitSequence_another_region();
@@ -396,6 +404,9 @@ public class OperationsWithoutBracesStatemachine implements IOperationsWithoutBr
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -51,6 +51,8 @@ public class OutEventLifeCycleStatemachine implements IOutEventLifeCycleStatemac
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		r1_A, r1_B, r2_B, $NullState$
 	};
@@ -65,6 +67,7 @@ public class OutEventLifeCycleStatemachine implements IOutEventLifeCycleStatemac
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 2; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -78,6 +81,10 @@ public class OutEventLifeCycleStatemachine implements IOutEventLifeCycleStatemac
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_r1_default();
@@ -86,6 +93,7 @@ public class OutEventLifeCycleStatemachine implements IOutEventLifeCycleStatemac
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_r1();
 
 		exitSequence_r2();
@@ -309,6 +317,9 @@ public class OutEventLifeCycleStatemachine implements IOutEventLifeCycleStatemac
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -18,6 +18,8 @@ public class ParenthesisStatemachine implements IParenthesisStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		mainRegion_A, $NullState$
 	};
@@ -32,6 +34,7 @@ public class ParenthesisStatemachine implements IParenthesisStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -43,12 +46,17 @@ public class ParenthesisStatemachine implements IParenthesisStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_mainRegion_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_mainRegion();
 
 		exitAction();
@@ -162,6 +170,9 @@ public class ParenthesisStatemachine implements IParenthesisStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

+ 11 - 0
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/performancetest/PerformanceTestStatemachine.java

@@ -63,6 +63,8 @@ public class PerformanceTestStatemachine implements IPerformanceTestStatemachine
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		mr_A, mr_B, mr_B_r1_X, mr_B_r1_Y, mr_B_r1_Z, mr_B_r1_V, mr_B_r1_W, mr_B_r1_S, mr_B_r1_T, mr_B_r1_U, mr_B_r2_S, mr_B_r2_T, mr_B_r2_U, mr_B_r2_V, mr_B_r2_W, $NullState$
 	};
@@ -82,6 +84,7 @@ public class PerformanceTestStatemachine implements IPerformanceTestStatemachine
 	}
 
 	public void init() {
+		this.initialized = true;
 		if (timer == null) {
 			throw new IllegalStateException("timer not set.");
 		}
@@ -103,6 +106,10 @@ public class PerformanceTestStatemachine implements IPerformanceTestStatemachine
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		if (timer == null) {
 			throw new IllegalStateException("timer not set.");
 		}
@@ -117,6 +124,7 @@ public class PerformanceTestStatemachine implements IPerformanceTestStatemachine
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_mr();
 
 		exitAction();
@@ -1205,6 +1213,9 @@ public class PerformanceTestStatemachine implements IPerformanceTestStatemachine
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -25,6 +25,8 @@ public class PriorityValuesStatemachine implements IPriorityValuesStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		someRegion_A, someRegion_B, main_region_A, main_region_B, main_region_C, main_region_D, main_region_E, $NullState$
 	};
@@ -39,6 +41,7 @@ public class PriorityValuesStatemachine implements IPriorityValuesStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 2; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -49,6 +52,10 @@ public class PriorityValuesStatemachine implements IPriorityValuesStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_someRegion_default();
@@ -57,6 +64,7 @@ public class PriorityValuesStatemachine implements IPriorityValuesStatemachine {
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_someRegion();
 
 		exitSequence_main_region();
@@ -383,6 +391,9 @@ public class PriorityValuesStatemachine implements IPriorityValuesStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -31,6 +31,8 @@ public class RaiseEventStatemachine implements IRaiseEventStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_StateA, main_region_StateB, second_region_SateA, second_region_StateB, $NullState$
 	};
@@ -45,6 +47,7 @@ public class RaiseEventStatemachine implements IRaiseEventStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 2; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -55,6 +58,10 @@ public class RaiseEventStatemachine implements IRaiseEventStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
@@ -63,6 +70,7 @@ public class RaiseEventStatemachine implements IRaiseEventStatemachine {
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitSequence_second_region();
@@ -289,6 +297,9 @@ public class RaiseEventStatemachine implements IRaiseEventStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -94,6 +94,8 @@ public class ReadOnlyVariableStatemachine implements IReadOnlyVariableStatemachi
 
 	protected SCIAImpl sCIA;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_StateB, main_region_StateA, $NullState$
 	};
@@ -109,6 +111,7 @@ public class ReadOnlyVariableStatemachine implements IReadOnlyVariableStatemachi
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -134,12 +137,17 @@ public class ReadOnlyVariableStatemachine implements IReadOnlyVariableStatemachi
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -311,6 +319,9 @@ public class ReadOnlyVariableStatemachine implements IReadOnlyVariableStatemachi
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -242,6 +242,8 @@ public class RealExpressionsStatemachine implements IRealExpressionsStatemachine
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_StateA, main_region_StateB, $NullState$
 	};
@@ -256,6 +258,7 @@ public class RealExpressionsStatemachine implements IRealExpressionsStatemachine
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -309,12 +312,17 @@ public class RealExpressionsStatemachine implements IRealExpressionsStatemachine
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -666,6 +674,9 @@ public class RealExpressionsStatemachine implements IRealExpressionsStatemachine
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -18,6 +18,8 @@ public class SameNameDifferentRegionStatemachine implements ISameNameDifferentRe
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_StateA, main_region_StateB, main_region_StateB_r1_StateA, main_region_StateB_r1_StateB, $NullState$
 	};
@@ -32,6 +34,7 @@ public class SameNameDifferentRegionStatemachine implements ISameNameDifferentRe
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -42,12 +45,17 @@ public class SameNameDifferentRegionStatemachine implements ISameNameDifferentRe
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -255,6 +263,9 @@ public class SameNameDifferentRegionStatemachine implements ISameNameDifferentRe
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -67,6 +67,8 @@ public class ShallowHistoryStatemachine implements IShallowHistoryStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		mainRegion_State1, mainRegion_State2, mainRegion_State2__region0_State3, mainRegion_State2__region0_State4, mainRegion_State2__region0_State4__region0_State6, mainRegion_State2__region0_State4__region0_State7, mainRegion_State2__region0_State4__region0_State7__region0_State8, mainRegion_State2__region0_State4__region0_State7__region0_State9, mainRegion_State2__region0_State5, $NullState$
 	};
@@ -82,6 +84,7 @@ public class ShallowHistoryStatemachine implements IShallowHistoryStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -95,12 +98,17 @@ public class ShallowHistoryStatemachine implements IShallowHistoryStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_mainRegion_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_mainRegion();
 
 		exitAction();
@@ -669,6 +677,9 @@ public class ShallowHistoryStatemachine implements IShallowHistoryStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -39,6 +39,8 @@ public class ShallowHistoryWithDeepEntryStatemachine implements IShallowHistoryW
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_Y, main_region_Z, main_region_Z__region0_A, main_region_Z__region0_B, main_region_Z__region0_B__region0_C, $NullState$
 	};
@@ -54,6 +56,7 @@ public class ShallowHistoryWithDeepEntryStatemachine implements IShallowHistoryW
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -67,12 +70,17 @@ public class ShallowHistoryWithDeepEntryStatemachine implements IShallowHistoryW
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -403,6 +411,9 @@ public class ShallowHistoryWithDeepEntryStatemachine implements IShallowHistoryW
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -18,6 +18,8 @@ public class SimpleEventStatemachine implements ISimpleEventStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, main_region__final_, $NullState$
 	};
@@ -32,6 +34,7 @@ public class SimpleEventStatemachine implements ISimpleEventStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -42,12 +45,17 @@ public class SimpleEventStatemachine implements ISimpleEventStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -217,6 +225,9 @@ public class SimpleEventStatemachine implements ISimpleEventStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -18,6 +18,8 @@ public class SimpleHierachyStatemachine implements ISimpleHierachyStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, main_region_B_subregion1_B1, $NullState$
 	};
@@ -32,6 +34,7 @@ public class SimpleHierachyStatemachine implements ISimpleHierachyStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -42,12 +45,17 @@ public class SimpleHierachyStatemachine implements ISimpleHierachyStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -216,6 +224,9 @@ public class SimpleHierachyStatemachine implements ISimpleHierachyStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -2,6 +2,8 @@ package org.yakindu.scr.statechartactive;
 
 public class StatechartActiveStatemachine implements IStatechartActiveStatemachine {
 
+	private boolean initialized = false;
+
 	public enum State {
 		r_A, $NullState$
 	};
@@ -15,6 +17,7 @@ public class StatechartActiveStatemachine implements IStatechartActiveStatemachi
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -25,12 +28,17 @@ public class StatechartActiveStatemachine implements IStatechartActiveStatemachi
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_r_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_r();
 
 		exitAction();
@@ -125,6 +133,9 @@ public class StatechartActiveStatemachine implements IStatechartActiveStatemachi
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -18,6 +18,8 @@ public class StatechartLocalReactionsStatemachine implements IStatechartLocalRea
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_S1, main_region_S2, region2_a, $NullState$
 	};
@@ -32,6 +34,7 @@ public class StatechartLocalReactionsStatemachine implements IStatechartLocalRea
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 2; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -43,6 +46,10 @@ public class StatechartLocalReactionsStatemachine implements IStatechartLocalRea
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
@@ -51,6 +58,7 @@ public class StatechartLocalReactionsStatemachine implements IStatechartLocalRea
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitSequence_region2();
@@ -255,6 +263,9 @@ public class StatechartLocalReactionsStatemachine implements IStatechartLocalRea
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -18,6 +18,8 @@ public class StateIsActiveStatemachine implements IStateIsActiveStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		r1_R1A, r1_R1B, r2_R2A, r2_R2B, $NullState$
 	};
@@ -32,6 +34,7 @@ public class StateIsActiveStatemachine implements IStateIsActiveStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 2; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -42,6 +45,10 @@ public class StateIsActiveStatemachine implements IStateIsActiveStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_R1_default();
@@ -50,6 +57,7 @@ public class StateIsActiveStatemachine implements IStateIsActiveStatemachine {
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_R1();
 
 		exitSequence_R2();
@@ -265,6 +273,9 @@ public class StateIsActiveStatemachine implements IStateIsActiveStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -28,6 +28,8 @@ public class StaticChoiceStatemachine implements IStaticChoiceStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_Start, main_region_B, main_region_A, $NullState$
 	};
@@ -42,6 +44,7 @@ public class StaticChoiceStatemachine implements IStaticChoiceStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -53,12 +56,17 @@ public class StaticChoiceStatemachine implements IStaticChoiceStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -259,6 +267,9 @@ public class StaticChoiceStatemachine implements IStaticChoiceStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

Різницю між файлами не показано, бо вона завелика
+ 11 - 0
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/stextkeywordsinstatesandregions/STextKeywordsInStatesAndRegionsStatemachine.java


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

@@ -108,6 +108,8 @@ public class StringExpressionsStatemachine implements IStringExpressionsStatemac
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_AssignmentChecked, main_region_Failed, main_region_VarToVarCompareSucceeded, main_region_VarToConstCompareSucceeded, main_region_ConstToVarCompareSucceeded, main_region_ConstToConstCompareSucceeded, $NullState$
 	};
@@ -122,6 +124,7 @@ public class StringExpressionsStatemachine implements IStringExpressionsStatemac
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -149,12 +152,17 @@ public class StringExpressionsStatemachine implements IStringExpressionsStatemac
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -888,6 +896,9 @@ public class StringExpressionsStatemachine implements IStringExpressionsStatemac
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -25,6 +25,8 @@ public class SyncForkStatemachine implements ISyncForkStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, main_region_B_r1_C1, main_region_B_r1_C2, main_region_B_r2_D1, main_region_B_r2_D2, $NullState$
 	};
@@ -39,6 +41,7 @@ public class SyncForkStatemachine implements ISyncForkStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 2; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -49,12 +52,17 @@ public class SyncForkStatemachine implements ISyncForkStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -401,6 +409,9 @@ public class SyncForkStatemachine implements ISyncForkStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -49,6 +49,8 @@ public class SyncJoinStatemachine implements ISyncJoinStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, main_region_B_r1_C1, main_region_B_r1_C2, main_region_B_r2_D1, main_region_B_r2_D2, $NullState$
 	};
@@ -63,6 +65,7 @@ public class SyncJoinStatemachine implements ISyncJoinStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 2; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -74,12 +77,17 @@ public class SyncJoinStatemachine implements ISyncJoinStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -439,6 +447,9 @@ public class SyncJoinStatemachine implements ISyncJoinStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -3,6 +3,8 @@ import org.yakindu.scr.ITimer;
 
 public class TimedTransitionsStatemachine implements ITimedTransitionsStatemachine {
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_Start, main_region_End, $NullState$
 	};
@@ -20,6 +22,7 @@ public class TimedTransitionsStatemachine implements ITimedTransitionsStatemachi
 	}
 
 	public void init() {
+		this.initialized = true;
 		if (timer == null) {
 			throw new IllegalStateException("timer not set.");
 		}
@@ -33,6 +36,10 @@ public class TimedTransitionsStatemachine implements ITimedTransitionsStatemachi
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		if (timer == null) {
 			throw new IllegalStateException("timer not set.");
 		}
@@ -42,6 +49,7 @@ public class TimedTransitionsStatemachine implements ITimedTransitionsStatemachi
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -213,6 +221,9 @@ public class TimedTransitionsStatemachine implements ITimedTransitionsStatemachi
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -2,6 +2,8 @@ package org.yakindu.scr.transitionwithoutcondition;
 
 public class TransitionWithoutConditionStatemachine implements ITransitionWithoutConditionStatemachine {
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, $NullState$
 	};
@@ -15,6 +17,7 @@ public class TransitionWithoutConditionStatemachine implements ITransitionWithou
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -25,12 +28,17 @@ public class TransitionWithoutConditionStatemachine implements ITransitionWithou
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -158,6 +166,9 @@ public class TransitionWithoutConditionStatemachine implements ITransitionWithou
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -35,6 +35,8 @@ public class TriggerGuardExpressionsStatemachine implements ITriggerGuardExpress
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region_A, main_region_B, $NullState$
 	};
@@ -49,6 +51,7 @@ public class TriggerGuardExpressionsStatemachine implements ITriggerGuardExpress
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 1; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -60,12 +63,17 @@ public class TriggerGuardExpressionsStatemachine implements ITriggerGuardExpress
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region_default();
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region();
 
 		exitAction();
@@ -226,6 +234,9 @@ public class TriggerGuardExpressionsStatemachine implements ITriggerGuardExpress
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

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

@@ -115,6 +115,8 @@ public class ValuedEventsStatemachine implements IValuedEventsStatemachine {
 
 	protected SCInterfaceImpl sCInterface;
 
+	private boolean initialized = false;
+
 	public enum State {
 		main_region1_A, integer_region_B, integer_region_C, integer_region_D, boolean_region_B, boolean_region_C, boolean_region_D, real_region_B, real_region_C, real_region_D, string_region_B, string_region_C, string_region_D, $NullState$
 	};
@@ -129,6 +131,7 @@ public class ValuedEventsStatemachine implements IValuedEventsStatemachine {
 	}
 
 	public void init() {
+		this.initialized = true;
 		for (int i = 0; i < 5; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -146,6 +149,10 @@ public class ValuedEventsStatemachine implements IValuedEventsStatemachine {
 	}
 
 	public void enter() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
+
 		entryAction();
 
 		enterSequence_main_region1_default();
@@ -160,6 +167,7 @@ public class ValuedEventsStatemachine implements IValuedEventsStatemachine {
 	}
 
 	public void exit() {
+		initialized = false;
 		exitSequence_main_region1();
 
 		exitSequence_integer_region();
@@ -780,6 +788,9 @@ public class ValuedEventsStatemachine implements IValuedEventsStatemachine {
 	}
 
 	public void runCycle() {
+		if (!initialized)
+			throw new IllegalStateException(
+					"The statemachine needs to be initialized first by calling the init() function.");
 
 		clearOutEvents();
 

+ 24 - 34
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/AllTestsTest.java

@@ -1,43 +1,33 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 package org.yakindu.sct.generator.java.test;
 import org.junit.runner.RunWith;
 import org.junit.runners.Suite;
 import org.junit.runners.Suite.SuiteClasses;
 
 @RunWith(Suite.class)
-@SuiteClasses({AlwaysOncycleTest.class, AssignmentAsExpressionTest.class,
-		BitExpressionsTest.class, BooleanExpressionsTest.class,
-		CastExpressionsTest.class, ChoiceTest.class, CKeywordsTest.class,
-		ConditionalExpressionTest.class, ConstantsTestsTest.class,
-		DeclarationsTest.class, DeepEntryTest.class, DeepHistoryTest.class,
-		DynamicChoiceTest.class, EmptyTransitionTest.class,
-		EnterStateTest.class, EntryChoiceTest.class,
-		EntryExitSelfTransitionTest.class, ExitOnSelfTransitionTest.class,
-		ExitStateTest.class, FeatureCallsTest.class, FinalStateTest.class,
-		GuardTest.class, GuardedEntryTest.class, GuardedExitTest.class,
-		HistoryWithExitPointTest.class, HistoryWithoutInitialStepTest.class,
-		InEventLifeCycleTest.class, IntegerExpressionsTest.class,
-		InternalEventLifeCycleTest.class, LocalReactionsTest.class,
-		LogicalAndTestsTest.class, LogicalOrTestsTest.class,
-		NamedInterfaceAccessTest.class, OutEventLifeCycleTest.class,
-		ParenthesisTest.class, PriorityValuesTest.class, RaiseEventTest.class,
-		ReadOnlyVariableTest.class, SameNameDifferentRegionTest.class,
-		ShallowHistoryTest.class, ShallowHistoryWithDeepEntryTest.class,
-		SimpleEventTest.class, SimpleHierachyTest.class,
-		StatechartActiveTest.class, StatechartLocalReactionsTest.class,
-		StateIsActiveTest.class, StaticChoiceTest.class,
-		STextKeywordsInStatesAndRegionsTest.class, StringExpressionsTest.class,
-		SyncForkTest.class, SyncJoinTest.class,
-		TransitionWithoutConditionTest.class,
-		TriggerGuardExpressionsTest.class, ValuedEventsTest.class})
+@SuiteClasses({AlwaysOncycleTest.class, AssignmentAsExpressionTest.class, BitExpressionsTest.class,
+		BooleanExpressionsTest.class, CastExpressionsTest.class, ChoiceTest.class, CKeywordsTest.class,
+		ConditionalExpressionTest.class, ConstantsTestsTest.class, DeclarationsTest.class, DeepEntryTest.class,
+		DeepHistoryTest.class, DynamicChoiceTest.class, EmptyTransitionTest.class, EnterStateTest.class,
+		EntryChoiceTest.class, EntryExitSelfTransitionTest.class, ExitOnSelfTransitionTest.class, ExitStateTest.class,
+		FeatureCallsTest.class, FinalStateTest.class, GuardTest.class, GuardedEntryTest.class, GuardedExitTest.class,
+		HistoryWithExitPointTest.class, HistoryWithoutInitialStepTest.class, InEventLifeCycleTest.class,
+		IntegerExpressionsTest.class, InternalEventLifeCycleTest.class, LocalReactionsTest.class,
+		LogicalAndTestsTest.class, LogicalOrTestsTest.class, NamedInterfaceAccessTest.class,
+		OutEventLifeCycleTest.class, ParenthesisTest.class, PriorityValuesTest.class, RaiseEventTest.class,
+		ReadOnlyVariableTest.class, SameNameDifferentRegionTest.class, ShallowHistoryTest.class,
+		ShallowHistoryWithDeepEntryTest.class, SimpleEventTest.class, SimpleHierachyTest.class,
+		StatechartActiveTest.class, StatechartLocalReactionsTest.class, StateIsActiveTest.class, StaticChoiceTest.class,
+		STextKeywordsInStatesAndRegionsTest.class, StringExpressionsTest.class, SyncForkTest.class, SyncJoinTest.class,
+		TransitionWithoutConditionTest.class, TriggerGuardExpressionsTest.class, ValuedEventsTest.class})
 public class AllTestsTest {
 }

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/AlwaysOncycleTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/AssignmentAsExpressionTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/BitExpressionsTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/BooleanExpressionsTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 10 - 11
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/CKeywordsTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 
@@ -44,7 +44,6 @@ public class CKeywordsTest {
 		statemachine.runCycle();
 		assertTrue(statemachine.isStateActive(State.auto_loop));
 		assertTrue(statemachine.isStateActive(State.auto_loop_switch_case));
-		assertTrue(statemachine
-				.isStateActive(State.auto_loop_switch_case_enum_asm));
+		assertTrue(statemachine.isStateActive(State.auto_loop_switch_case_enum_asm));
 	}
 }

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/CastExpressionsTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/ChoiceTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/ConditionalExpressionTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/ConstantsTestsTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/DeclarationsTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/DeepEntryTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 13 - 15
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/DeepHistoryTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 
@@ -48,17 +48,15 @@ public class DeepHistoryTest {
 		statemachine.raiseEvent7();
 		statemachine.runCycle();
 		assertTrue(!statemachine.isStateActive(State.mainRegion_State1));
-		assertTrue(statemachine
-				.isStateActive(State.mainRegion_State2__region0_State4__region0_State7__region0_State9));
+		assertTrue(statemachine.isStateActive(State.mainRegion_State2__region0_State4__region0_State7__region0_State9));
 		statemachine.raiseEvent2();
 		statemachine.runCycle();
 		assertTrue(statemachine.isStateActive(State.mainRegion_State1));
-		assertTrue(!statemachine
-				.isStateActive(State.mainRegion_State2__region0_State4__region0_State7__region0_State9));
+		assertTrue(
+				!statemachine.isStateActive(State.mainRegion_State2__region0_State4__region0_State7__region0_State9));
 		statemachine.raiseEvent1();
 		statemachine.runCycle();
 		assertTrue(!statemachine.isStateActive(State.mainRegion_State1));
-		assertTrue(statemachine
-				.isStateActive(State.mainRegion_State2__region0_State4__region0_State7__region0_State9));
+		assertTrue(statemachine.isStateActive(State.mainRegion_State2__region0_State4__region0_State7__region0_State9));
 	}
 }

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/DynamicChoiceTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/EnterStateTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/EntryChoiceTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/EntryExitSelfTransitionTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/ExitOnSelfTransitionTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/ExitStateTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/FeatureCallsTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/FinalStateTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/GuardTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/GuardedEntryTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/GuardedExitTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/HistoryWithExitPointTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/HistoryWithoutInitialStepTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/InEventLifeCycleTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/IntegerExpressionsTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/InternalEventLifeCycleTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/LocalReactionsTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/LogicalAndTestsTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/LogicalOrTestsTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/NamedInterfaceAccessTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/NullCheckTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/OutEventLifeCycleTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/ParenthesisTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 9 - 9
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/PerformanceTestsTest.java

@@ -1,13 +1,13 @@
 /**
- * Copyright (c) 2015 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
+* Copyright (c) 2015 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
 
 package org.yakindu.sct.generator.java.test;
 

+ 0 - 0
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/PriorityValuesTest.java


Деякі файли не було показано, через те що забагато файлів було змінено