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 luaJavaClassExposer, KahluaConverterManager kahluaConverterManager, java.lang.Class javaClass, java.lang.String string, Caller caller)
-
Method Summary
Modifier and Type Method Description int
call(MethodArguments methodArguments)
int
call(LuaCallFrame luaCallFrame, int int1)
boolean
equals(java.lang.Object object)
MethodDebugInformation
getMethodDebugData()
int
getNumMethodParams()
int
hashCode()
boolean
matchesArgumentTypes(LuaCallFrame luaCallFrame, int int1)
boolean
matchesArgumentTypesOrPrimitives(LuaCallFrame luaCallFrame, int int1)
MethodArguments
prepareCall(LuaCallFrame luaCallFrame, int int1)
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 luaJavaClassExposer, KahluaConverterManager kahluaConverterManager, java.lang.Class javaClass, java.lang.String string, 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 object)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
matchesArgumentTypes
-
matchesArgumentTypesOrPrimitives
-