Class ScriptRuntime.NoSuchMethodShim

java.lang.Object
org.htmlunit.corejs.javascript.ScriptRuntime.NoSuchMethodShim
All Implemented Interfaces:
Callable
Enclosing class:
ScriptRuntime

static class ScriptRuntime.NoSuchMethodShim extends Object implements Callable
  • Field Details

    • methodName

      String methodName
    • noSuchMethodMethod

      Callable noSuchMethodMethod
  • Constructor Details

    • NoSuchMethodShim

      NoSuchMethodShim(Callable noSuchMethodMethod, String methodName)
  • Method Details

    • call

      public Object call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
      Perform the call.
      Specified by:
      call in interface Callable
      Parameters:
      cx - the current Context for this thread
      scope - the scope to use to resolve properties.
      thisObj - the JavaScript this object
      args - the array of arguments
      Returns:
      the result of the call