|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object orc.runtime.sites.java.InvokableHandle<java.lang.reflect.Method> orc.runtime.sites.java.MethodHandle
public class MethodHandle
Java has method overloading so this may actually call one of several methods depending on the number and type of arguments. This should be cached so that only one instance is used for a given method name and class.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class orc.runtime.sites.java.InvokableHandle |
---|
InvokableHandle.Type |
Field Summary |
---|
Fields inherited from class orc.runtime.sites.java.InvokableHandle |
---|
name |
Constructor Summary | |
---|---|
MethodHandle(java.lang.String name,
java.lang.reflect.Method[] methods)
|
Method Summary | |
---|---|
protected int |
getModifiers(java.lang.reflect.Method m)
|
java.lang.Class[] |
getParameterTypes(java.lang.reflect.Method m)
|
Methods inherited from class orc.runtime.sites.java.InvokableHandle |
---|
classToType, coerce, isCoercableFrom, resolve |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodHandle(java.lang.String name, java.lang.reflect.Method[] methods)
Method Detail |
---|
public java.lang.Class[] getParameterTypes(java.lang.reflect.Method m)
getParameterTypes
in class InvokableHandle<java.lang.reflect.Method>
protected int getModifiers(java.lang.reflect.Method m)
getModifiers
in class InvokableHandle<java.lang.reflect.Method>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |