Annotation Interface JStacheFlags


Compiler feature flags that are subject to change. Use at your own risk!

Flags maybe added without a major version change unlike the rest of the API. If a flag becomes popular enough it will eventually make its way to JStacheConfig so please file an issue if you depend on flag and would like it to remain in the library.

Order of flag lookup and precedence is as follows:

  1. type annotated with JStache and this annotation.
  2. enclosing class (of type annotated with JStache) with this annotation with inner to outer order.
  3. package annotated with this annotation.
  4. module annotated with this annotation.
  5. annotation processor compiler arg options (-A). The flags are lowercased and prefixed with "jstache."
The flags are NOT combined but rather the first found dictates the flags set or not (including empty)
Author:
agentgt
API Note
the retention policy is purposely RetentionPolicy.SOURCE as these flags only impact compiling of the template.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Compiler flags.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Compiler flags that will be used on for this model.