static void replaceHeredocStrings ( ASTTemplate tnode , List < StringProperty > strings ) { // Only something to do if there were heredoc strings defined. if ( strings . size ( ) > 0 ) { processHeredocStrings ( tnode , strings ) ; } }
A utility to replace HEREDOC operations with the associated StringProperty operations . This must be done at the end of the template processing to be sure that all heredoc strings have been captured .