Class ScriptRuntime.NoSuchMethodShim

  • All Implemented Interfaces:
    Callable
    Enclosing class:
    ScriptRuntime

    static class ScriptRuntime.NoSuchMethodShim
    extends java.lang.Object
    implements Callable
    • Constructor Summary

      Constructors 
      Constructor Description
      NoSuchMethodShim​(Callable noSuchMethodMethod, java.lang.String methodName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object call​(Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
      Perform the call.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • methodName

        java.lang.String methodName
      • noSuchMethodMethod

        Callable noSuchMethodMethod
    • Constructor Detail

      • NoSuchMethodShim

        NoSuchMethodShim​(Callable noSuchMethodMethod,
                         java.lang.String methodName)
    • Method Detail

      • call

        public java.lang.Object call​(Context cx,
                                     Scriptable scope,
                                     Scriptable thisObj,
                                     java.lang.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