GenModelJava.sgen 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. GeneratorModel for yakindu::java {
  2. statechart TrafficLightWaiting {
  3. feature Outlet {
  4. targetProject = "org.yakindu.sct.examples.generator.java.trafficlight"
  5. targetFolder = "src-gen"
  6. }
  7. feature licenseHeader {
  8. licenseText = "/**
  9. * Copyright (c) 2011 committers of YAKINDU and others.
  10. * All rights reserved. This program and the accompanying materials
  11. * are made available under the terms of the Eclipse Public License v1.0
  12. * which accompanies this distribution, and is available at
  13. * http://www.eclipse.org/legal/epl-v10.html
  14. *
  15. * Contributors:
  16. * committers of YAKINDU - initial API and implementation
  17. */"
  18. }
  19. //create a dump file of execution model (sexec)
  20. //This feature is disabled by default if it's not declared explicit in a generator model.
  21. feature Debug {
  22. dumpSexec = false
  23. }
  24. //This feature reduces the amount of generated methods.
  25. //The FunctionInlining is enabled by default if it's not declared explicit in a generator model.
  26. feature FunctionInlining {
  27. inlineChoices = true
  28. inlineEnterSequences = true
  29. inlineEntryActions = true
  30. inlineExitActions = true
  31. inlineExitSequences = true
  32. inlineReactions = true
  33. }
  34. }
  35. }