|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jruby.runtime.CallbackFactory
org.jruby.runtime.callback.ReflectionCallbackFactory
public class ReflectionCallbackFactory
| Field Summary |
|---|
| Fields inherited from class org.jruby.runtime.CallbackFactory |
|---|
NULL_CLASS_ARRAY |
| Constructor Summary | |
|---|---|
ReflectionCallbackFactory(java.lang.Class type)
|
|
| Method Summary | |
|---|---|
CompiledBlockCallback |
getBlockCallback(java.lang.String method)
|
Callback |
getBlockMethod(java.lang.String method)
|
Callback |
getFastMethod(java.lang.String method)
|
Callback |
getFastMethod(java.lang.String method,
java.lang.Class arg1)
|
Callback |
getFastMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2)
|
Callback |
getFastMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2,
java.lang.Class arg3)
|
Callback |
getFastOptMethod(java.lang.String method)
|
Callback |
getFastOptSingletonMethod(java.lang.String method)
|
Callback |
getFastSingletonMethod(java.lang.String method)
|
Callback |
getFastSingletonMethod(java.lang.String method,
java.lang.Class arg1)
|
Callback |
getFastSingletonMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2)
|
Callback |
getFastSingletonMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2,
java.lang.Class arg3)
|
Callback |
getMethod(java.lang.String method)
gets an instance method with no arguments. |
Callback |
getMethod(java.lang.String method,
java.lang.Class arg1)
gets an instance method with 1 argument. |
Callback |
getMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2)
gets an instance method with two arguments. |
Callback |
getMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2,
java.lang.Class arg3)
gets an instance method with two arguments. |
Callback |
getOptMethod(java.lang.String method)
gets an instance method with no mandatory argument and some optional arguments. |
Callback |
getOptSingletonMethod(java.lang.String method)
gets a singleton (class) method with no mandatory argument and some optional arguments. |
Callback |
getSingletonMethod(java.lang.String method)
gets a singleton (class) method without arguments. |
Callback |
getSingletonMethod(java.lang.String method,
java.lang.Class arg1)
gets a singleton (class) method with 1 argument. |
Callback |
getSingletonMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2)
gets a singleton (class) method with 2 arguments. |
Callback |
getSingletonMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2,
java.lang.Class arg3)
gets a singleton (class) method with 3 arguments. |
| Methods inherited from class org.jruby.runtime.CallbackFactory |
|---|
createFactory, createFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReflectionCallbackFactory(java.lang.Class type)
| Method Detail |
|---|
public Callback getMethod(java.lang.String method)
CallbackFactory
getMethod in class CallbackFactorymethod - name of the method
public Callback getFastMethod(java.lang.String method)
getFastMethod in class CallbackFactory
public Callback getMethod(java.lang.String method,
java.lang.Class arg1)
CallbackFactory
getMethod in class CallbackFactorymethod - name of the methodarg1 - the class of the only argument for this method
public Callback getFastMethod(java.lang.String method,
java.lang.Class arg1)
getFastMethod in class CallbackFactory
public Callback getMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2)
CallbackFactory
getMethod in class CallbackFactorymethod - name of the methodarg1 - the java class of the first argument for this methodarg2 - the java class of the second argument for this method
public Callback getFastMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2)
getFastMethod in class CallbackFactory
public Callback getMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2,
java.lang.Class arg3)
CallbackFactory
getMethod in class CallbackFactorymethod - name of the methodarg1 - the java class of the first argument for this methodarg2 - the java class of the second argument for this methodarg3 - the java class of the second argument for this method
public Callback getFastMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2,
java.lang.Class arg3)
getFastMethod in class CallbackFactorypublic Callback getSingletonMethod(java.lang.String method)
CallbackFactory
getSingletonMethod in class CallbackFactorymethod - name of the method
public Callback getFastSingletonMethod(java.lang.String method)
getFastSingletonMethod in class CallbackFactory
public Callback getSingletonMethod(java.lang.String method,
java.lang.Class arg1)
CallbackFactory
getSingletonMethod in class CallbackFactorymethod - name of the methodarg1 - the class of the only argument for this method
public Callback getFastSingletonMethod(java.lang.String method,
java.lang.Class arg1)
getFastSingletonMethod in class CallbackFactory
public Callback getSingletonMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2)
CallbackFactory
getSingletonMethod in class CallbackFactorymethod - name of the method
public Callback getFastSingletonMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2)
getFastSingletonMethod in class CallbackFactory
public Callback getSingletonMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2,
java.lang.Class arg3)
CallbackFactory
getSingletonMethod in class CallbackFactorymethod - name of the method
public Callback getFastSingletonMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2,
java.lang.Class arg3)
getFastSingletonMethod in class CallbackFactorypublic Callback getBlockMethod(java.lang.String method)
getBlockMethod in class CallbackFactorypublic CompiledBlockCallback getBlockCallback(java.lang.String method)
getBlockCallback in class CallbackFactorypublic Callback getOptSingletonMethod(java.lang.String method)
CallbackFactory
getOptSingletonMethod in class CallbackFactorymethod - name of the method
public Callback getFastOptSingletonMethod(java.lang.String method)
getFastOptSingletonMethod in class CallbackFactorypublic Callback getOptMethod(java.lang.String method)
CallbackFactory
getOptMethod in class CallbackFactorymethod - name of the method
public Callback getFastOptMethod(java.lang.String method)
getFastOptMethod in class CallbackFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||