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 )
| 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 | /** |
no test coverage detected