Package de.spraener.nxtgen
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 TypeMethodDescriptionresolve(ModelElement element, String templateName) Apply the requested Template to the model Element.
-
Method Details
-
resolve
Apply the requested Template to the model Element.- Parameters:
element- a instance of ModelElement to generate code fortemplateName- a Template to apply on the model element.- Returns:
- a not null instance of CodeBlock the can write the code.
-