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

Method getGlobal

src/bsh/NameSpace.java:438–444  ·  view source on GitHub ↗

Get the top level namespace or this namespace if we are the top. Note: this method should probably return type bsh.This to be consistent with getThis();

( Interpreter declaringInterpreter )

Source from the content-addressed store, hash-verified

436 with getThis();
437 */
438 public This getGlobal( Interpreter declaringInterpreter )
439 {
440 if ( parent != null )
441 return parent.getGlobal( declaringInterpreter );
442 else
443 return getThis( declaringInterpreter );
444 }
445
446
447 /**

Callers 1

Calls 1

getThisMethod · 0.95

Tested by

no test coverage detected