MCPcopy Create free account
hub / github.com/PCGen/pcgen / get

Method get

code/src/java/pcgen/output/model/CodeControlModel.java:30–39  ·  view source on GitHub ↗
(String key)

Source from the content-addressed store, hash-verified

28 }
29
30 @Override
31 public TemplateModel get(String key) throws TemplateModelException
32 {
33 String result = control.get(ObjectKey.getKeyFor(String.class, "*" + key));
34 if (result == null)
35 {
36 return null;
37 }
38 return SimpleWrapperLibrary.wrap(result);
39 }
40
41 @Override
42 public boolean isEmpty()

Callers

nothing calls this directly

Calls 3

getKeyForMethod · 0.95
wrapMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected