Class GroovyTemplateCompiler

    • Field Detail

      • extensionsClassnames

        protected java.util.List<java.lang.String> extensionsClassnames
    • Constructor Detail

      • GroovyTemplateCompiler

        public GroovyTemplateCompiler()
    • Method Detail

      • checkScalaComptability

        @Deprecated
        protected java.lang.String checkScalaComptability​(java.lang.String source)
        Deprecated.
      • checkScalaCompatibility

        protected java.lang.String checkScalaCompatibility​(java.lang.String source)
        Makes the code scala compatible (for the scala module).
        Parameters:
        source - The string representation of the code
        Returns:
        The scala compatible source
      • plain

        protected void plain()
        Interesting performance observation: Calling print(); from java (in ExecutableTemplate) called from groovy is MUCH slower than java returning string to groovy which then prints with out.print();
        Specified by:
        plain in class TemplateCompiler