Built-in directives

Directives are probably the most useful part in anycode generation. A directive is a class focused on one specific language code generation and that is available as a variable from any of your template. Here is the list of available variables :

Variable name in templates API Documentation Summary
java JavaDirective Supply functions to render attributes, operations and class signature in Java Language
jpa JpaDirective Extends Java Directive and adds some functions to render primary key and JPA attributes
spring SpringDirective Provide few useful functions to make dependency wiring easier.
objc ObjectiveCDirective First version of Objective-C directive. This directive is recent and provides very basic functions to help generate Objective-C code. Please see Objective-C tutorial for further details.