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

Method __setitem__

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

A hook that Jython uses.

(String key, Object o)

Source from the content-addressed store, hash-verified

1635 * A hook that Jython uses.
1636 */
1637 public void __setitem__(String key, Object o) throws TemplateException {
1638 setGlobalVariable(key, getObjectWrapper().wrap(o));
1639 }
1640
1641 private static final class NumberFormatKey
1642 {

Callers

nothing calls this directly

Calls 3

setGlobalVariableMethod · 0.95
wrapMethod · 0.65
getObjectWrapperMethod · 0.45

Tested by

no test coverage detected