public @interface DisableStringLiteralTemplates
'$'
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
.Modifier and Type | Optional Element and Description |
---|---|
boolean |
value |
Copyright © 2024. All rights reserved.