Class LuaJavaClassExposer
java.lang.Object
se.krka.kahlua.integration.expose.LuaJavaClassExposer
public class LuaJavaClassExposer
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description java.util.HashMap
TypeMap
-
Constructor Summary
Constructors Constructor Description LuaJavaClassExposer(KahluaConverterManager kahluaConverterManager, Platform platform, KahluaTable kahluaTable)
LuaJavaClassExposer(KahluaConverterManager kahluaConverterManager, Platform platform, KahluaTable kahluaTable, KahluaTable kahluaTable2)
-
Method Summary
Modifier and Type Method Description void
exposeGlobalClassFunction(KahluaTable kahluaTable, java.lang.Class javaClass, java.lang.reflect.Constructor constructor, java.lang.String string)
void
exposeGlobalClassFunction(KahluaTable kahluaTable, java.lang.Class javaClass, java.lang.reflect.Method method, java.lang.String string)
void
exposeGlobalFunctions(java.lang.Object object)
void
exposeGlobalObjectFunction(KahluaTable kahluaTable, java.lang.Object object, java.lang.reflect.Method method)
void
exposeGlobalObjectFunction(KahluaTable kahluaTable, java.lang.Object object, java.lang.reflect.Method method, java.lang.String string)
void
exposeLikeJava(java.lang.Class javaClass)
void
exposeLikeJava(java.lang.Class javaClass, KahluaTable kahluaTable)
void
exposeLikeJavaRecursively(java.lang.reflect.Type type)
void
exposeLikeJavaRecursively(java.lang.reflect.Type type, KahluaTable kahluaTable)
void
exposeMethod(java.lang.Class javaClass, java.lang.reflect.Method method, java.lang.String string, KahluaTable kahluaTable)
void
exposeMethod(java.lang.Class javaClass, java.lang.reflect.Method method, KahluaTable kahluaTable)
java.util.Map
getClassDebugInformation()
java.lang.String
getDefinition(java.lang.Object object)
boolean
isExposed(java.lang.Class javaClass)
boolean
shouldExpose(java.lang.Class javaClass)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
TypeMap
public java.util.HashMap TypeMap
-
-
Constructor Details
-
LuaJavaClassExposer
public LuaJavaClassExposer(KahluaConverterManager kahluaConverterManager, Platform platform, KahluaTable kahluaTable) -
LuaJavaClassExposer
public LuaJavaClassExposer(KahluaConverterManager kahluaConverterManager, Platform platform, KahluaTable kahluaTable, KahluaTable kahluaTable2)
-
-
Method Details
-
getClassDebugInformation
public java.util.Map getClassDebugInformation() -
exposeGlobalObjectFunction
public void exposeGlobalObjectFunction(KahluaTable kahluaTable, java.lang.Object object, java.lang.reflect.Method method) -
exposeGlobalObjectFunction
public void exposeGlobalObjectFunction(KahluaTable kahluaTable, java.lang.Object object, java.lang.reflect.Method method, java.lang.String string) -
exposeGlobalClassFunction
public void exposeGlobalClassFunction(KahluaTable kahluaTable, java.lang.Class javaClass, java.lang.reflect.Constructor constructor, java.lang.String string) -
exposeGlobalClassFunction
public void exposeGlobalClassFunction(KahluaTable kahluaTable, java.lang.Class javaClass, java.lang.reflect.Method method, java.lang.String string) -
exposeMethod
public void exposeMethod(java.lang.Class javaClass, java.lang.reflect.Method method, KahluaTable kahluaTable) -
exposeMethod
public void exposeMethod(java.lang.Class javaClass, java.lang.reflect.Method method, java.lang.String string, KahluaTable kahluaTable) -
shouldExpose
public boolean shouldExpose(java.lang.Class javaClass) -
exposeGlobalFunctions
public void exposeGlobalFunctions(java.lang.Object object) -
exposeLikeJava
public void exposeLikeJava(java.lang.Class javaClass) -
exposeLikeJava
-
isExposed
public boolean isExposed(java.lang.Class javaClass) -
getDefinition
public java.lang.String getDefinition(java.lang.Object object) -
exposeLikeJavaRecursively
public void exposeLikeJavaRecursively(java.lang.reflect.Type type) -
exposeLikeJavaRecursively
-