Interface CodeGenerator

All Known Implementing Classes:
BlueprintGeneratorWrapper, GeneratorWrapper, MustacheGenerator, MustacheGeneratorWrapper

public interface CodeGenerator
Creates a CodeBlock for the given ModelElement with the given Template.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    resolve(ModelElement element, String templateName)
    Apply the requested Template to the model Element.
  • Method Details

    • resolve

      CodeBlock resolve(ModelElement element, String templateName)
      Apply the requested Template to the model Element.
      Parameters:
      element - a instance of ModelElement to generate code for
      templateName - a Template to apply on the model element.
      Returns:
      a not null instance of CodeBlock the can write the code.