Annotation Type DisableStringLiteralTemplates
public @interface DisableStringLiteralTemplates
Use this annotation to disable string template processing if you need to use the
'$' literally within string
literals in your code. Read more about bypassing string template processing.
Note this class resides outside the manifold-strings module to facilitate Maven's optional treatment,
which allows, say the manifold-json module, to hide its dependency on manifold-strings from modules
depending on it. The idea is that although manifold-json uses string templates, that doesn't mean modules
using JSON necessarily want string templates. Otherwise existing usage of '$' in the dependent module could
cause unwanted behavior. Thus, residing outside the manifold-strings module the DisableStringLiteralTemplates
annotation can be used in code generated by manifold-json with or without manifold-strings in scope
in the module depending on manifold-json.-
Optional Element Summary
Optional Elements
-
Element Details
-
value
boolean value- Default:
true
-