protected void dumpSexec(GeneratorEntry entry, ExecutionFlow flow, Output output) {
   ResourceSet resourceSet = new ResourceSetImpl();
   resourceSet
       .getResourceFactoryRegistry()
       .getExtensionToFactoryMap()
       .put(Resource.Factory.Registry.DEFAULT_EXTENSION, new XMIResourceFactoryImpl());
   URI fileURI =
       entry
           .getElementRef()
           .eResource()
           .getURI()
           .trimFileExtension()
           .appendFileExtension(SEXEC_FILE_EXTENSION);
   Resource resource = resourceSet.createResource(fileURI);
   resource.getContents().add(flow);
   try {
     resource.save(Collections.EMPTY_MAP);
   } catch (IOException e) {
   }
 }
  @Override
  protected void setDefaultValue(
      FeatureType featureType, FeatureParameterValue parameterValue, EObject contextElement) {
    GeneratorEntry entry = (GeneratorEntry) contextElement;
    Statechart statechart = (Statechart) entry.getElementRef();

    if (parameterValue
        .getParameter()
        .getName()
        .equals(ICFeatureConstants.PARAMETER_NAMING_MODULE_NAME)) {
      parameterValue.setValue(asIdentifier(statechart.getName(), "_"));
    } else if (parameterValue
        .getParameter()
        .getName()
        .equals(ICFeatureConstants.PARAMETER_NAMING_STATEMACHINE_PREFIX)) {
      parameterValue.setValue(
          StringExtensions.toFirstLower(asIdentifier(statechart.getName(), "_")));
    } else if (parameterValue
        .getParameter()
        .getName()
        .equals(ICFeatureConstants.PARAMETER_NAMING_MAX_IDENTIFIER_LENGTH)) {
      parameterValue.setValue("31");
    } else if (parameterValue
        .getParameter()
        .getName()
        .equals(ICFeatureConstants.PARAMETER_NAMING_SEPARATOR)) {
      parameterValue.setValue("_");
    } else if (parameterValue
        .getParameter()
        .getName()
        .equals(CPPFeatureConstants.PARAMETER_INNER_FUNCTION_VISIBILITY)) {
      parameterValue.setValue(Visibility.PRIVATE.toString().toLowerCase());
    } else if (parameterValue
        .getParameter()
        .getName()
        .equals(CPPFeatureConstants.PARAMETER_STATIC_OPC)) {
      parameterValue.setValue(false);
    }
  }