Interface ITemplateProcessorGate


  • public interface ITemplateProcessorGate
    An SPI to gate template processing. Implement this interface to prevent Java classes from string template processing. This is especially useful for use-cases involving generated code you do not control.
    See Also:
    DisableStringLiteralTemplates
    • Method Detail

      • exclude

        boolean exclude​(String typeName)
        Return true if the typeName should be excluded from string template processing
        Parameters:
        typeName - A fully qualified type name.
        Returns:
        true to exclude typeName from string template processing, otherwise false.