MCPcopy Create free account
hub / github.com/apache/freemarker / getTemplate

Method getTemplate

src/main/java/freemarker/core/Environment.java:170–173  ·  view source on GitHub ↗

Retrieves the currently processed template.

()

Source from the content-addressed store, hash-verified

168 * Retrieves the currently processed template.
169 */
170 public Template getTemplate()
171 {
172 return (Template)getParent();
173 }
174
175 /**
176 * Deletes cached values that meant to be valid only during a single

Callers 15

processMethod · 0.95
getConfigurationMethod · 0.95
includeMethod · 0.95
getTemplateMethod · 0.95
runTestMethod · 0.45
postParseCleanupMethod · 0.45
postParseCleanupMethod · 0.45
_getAsTemplateModelMethod · 0.45
_getAsTemplateModelMethod · 0.45
isTrueMethod · 0.45
visitMethod · 0.45

Calls 1

getParentMethod · 0.45

Tested by 1

runTestMethod · 0.36