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

Method getNonBlockParent

src/bsh/BlockNameSpace.java:137–144  ·  view source on GitHub ↗

do we need this?

()

Source from the content-addressed store, hash-verified

135*/
136 /** do we need this? */
137 private NameSpace getNonBlockParent()
138 {
139 NameSpace parent = super.getParent();
140 if ( parent instanceof BlockNameSpace )
141 return ((BlockNameSpace)parent).getNonBlockParent();
142 else
143 return parent;
144 }
145
146 /**
147 Get a 'this' reference is our parent's 'this' for the object closure.

Callers 2

getThisMethod · 0.95
getSuperMethod · 0.95

Calls 1

getParentMethod · 0.45

Tested by

no test coverage detected