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

Method setParent

src/bsh/NameSpace.java:520–527  ·  view source on GitHub ↗
( NameSpace parent )

Source from the content-addressed store, hash-verified

518 }
519
520 public void setParent( NameSpace parent )
521 {
522 this.parent = parent;
523
524 // If we are disconnected from root we need to handle the def imports
525 if ( parent == null )
526 loadDefaultImports();
527 }
528
529 /**
530 Get the specified variable in this namespace or a parent namespace.

Callers 6

invokeMethod · 0.95
initInstanceMethod · 0.95
NameSpaceMethod · 0.95
pruneMethod · 0.95
bindMethod · 0.80

Calls 1

loadDefaultImportsMethod · 0.95

Tested by

no test coverage detected