MCPcopy Index your code
hub / github.com/beanshell/beanshell / isExposedThisMethod

Method isExposedThisMethod

src/bsh/This.java:432–442  ·  view source on GitHub ↗

Allow invocations of these method names on This type objects. Don't give bsh.This a chance to override their behavior. If the method is passed here the invocation will actually happen on the bsh.This object via the regular reflective method invocation mechanism. If not, then the met

( String name )

Source from the content-addressed store, hash-verified

430 as a scripted method call.
431 */
432 static boolean isExposedThisMethod( String name )
433 {
434 return
435 name.equals("getClass")
436 || name.equals("invokeMethod")
437 || name.equals("getInterface")
438 // These are necessary to let us test synchronization from scripts
439 || name.equals("wait")
440 || name.equals("notify")
441 || name.equals("notifyAll");
442 }
443
444}
445

Callers 1

invokeObjectMethodMethod · 0.95

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected