org.mozilla.javascript
Class Invoker
java.lang.Object
|
+--org.mozilla.javascript.Invoker
- Direct Known Subclasses:
- InvokerImpl
- public abstract class Invoker
- extends java.lang.Object
Avoid cost of java.lang.reflect.Method.invoke() by compiling a class to
perform the method call directly.
Method Summary |
Invoker |
createInvoker(java.lang.reflect.Method method,
java.lang.Class[] types)
Factory method to get invoker for given method |
abstract java.lang.Object |
invoke(java.lang.Object that,
java.lang.Object[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Invoker
public Invoker()
invoke
public abstract java.lang.Object invoke(java.lang.Object that,
java.lang.Object[] args)
createInvoker
public Invoker createInvoker(java.lang.reflect.Method method,
java.lang.Class[] types)
- Factory method to get invoker for given method