MCPcopy Create free account
hub / github.com/beanshell/beanshell / setInstanceNameSpaceParent

Method setInstanceNameSpaceParent

src/bsh/ClassGenerator.java:75–78  ·  view source on GitHub ↗
(Object instance, String className, NameSpace parent)

Source from the content-addressed store, hash-verified

73 */
74 // This could be static
75 public void setInstanceNameSpaceParent(Object instance, String className, NameSpace parent) {
76 This ithis = ClassGeneratorUtil.getClassInstanceThis(instance, className);
77 ithis.getNameSpace().setParent(parent);
78 }
79
80
81 /**

Callers 1

constructObjectMethod · 0.80

Calls 3

getClassInstanceThisMethod · 0.95
getNameSpaceMethod · 0.95
setParentMethod · 0.80

Tested by

no test coverage detected