Class LuaJavaInvoker
java.lang.Object
se.krka.kahlua.integration.expose.LuaJavaInvoker
- All Implemented Interfaces:
JavaFunction
public class LuaJavaInvoker extends java.lang.Object implements JavaFunction
-
Constructor Summary
Constructors Constructor Description LuaJavaInvoker(LuaJavaClassExposer exposer, KahluaConverterManager manager, java.lang.Class clazz, java.lang.String name, Caller caller)
-
Method Summary
Modifier and Type Method Description int
call(MethodArguments methodArguments)
int
call(LuaCallFrame callFrame, int nArguments)
boolean
equals(java.lang.Object o)
MethodDebugInformation
getMethodDebugData()
int
getNumMethodParams()
int
hashCode()
boolean
matchesArgumentTypes(LuaCallFrame callFrame, int nArguments)
MethodArguments
prepareCall(LuaCallFrame callFrame, int nArguments)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
LuaJavaInvoker
public LuaJavaInvoker(LuaJavaClassExposer exposer, KahluaConverterManager manager, java.lang.Class clazz, java.lang.String name, Caller caller)
-
-
Method Details
-
prepareCall
-
call
- Specified by:
call
in interfaceJavaFunction
-
call
-
getMethodDebugData
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
getNumMethodParams
public int getNumMethodParams() -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
matchesArgumentTypes
-