|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mozilla.javascript.Invoker | +--org.mozilla.javascript.optimizer.InvokerImpl
Avoid cost of java.lang.reflect.Method.invoke() by compiling a class to perform the method call directly.
Constructor Summary | |
InvokerImpl()
|
Method Summary | |
Invoker |
createInvoker(java.lang.reflect.Method method,
java.lang.Class[] types)
Factory method to get invoker for given method |
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 |
Constructor Detail |
public InvokerImpl()
Method Detail |
public Invoker createInvoker(java.lang.reflect.Method method, java.lang.Class[] types)
Invoker
createInvoker
in class Invoker
public java.lang.Object invoke(java.lang.Object that, java.lang.Object[] args)
invoke
in class Invoker
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |