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.HashMapTypeMap -
Constructor Summary
Constructors Constructor Description LuaJavaClassExposer(KahluaConverterManager manager, Platform platform, KahluaTable environment)LuaJavaClassExposer(KahluaConverterManager manager, Platform platform, KahluaTable environment_, KahluaTable autoExposeBase) -
Method Summary
Modifier and Type Method Description voidexposeGlobalClassFunction(KahluaTable environment, java.lang.Class clazz, java.lang.reflect.Constructor constructor, java.lang.String methodName)voidexposeGlobalClassFunction(KahluaTable environment, java.lang.Class clazz, java.lang.reflect.Method method, java.lang.String methodName)voidexposeGlobalFunctions(java.lang.Object object)voidexposeGlobalObjectFunction(KahluaTable environment, java.lang.Object owner, java.lang.reflect.Method method)voidexposeGlobalObjectFunction(KahluaTable environment, java.lang.Object owner, java.lang.reflect.Method method, java.lang.String methodName)voidexposeLikeJava(java.lang.Class clazz)voidexposeLikeJava(java.lang.Class clazz, KahluaTable staticBase)voidexposeLikeJavaRecursively(java.lang.reflect.Type type)voidexposeLikeJavaRecursively(java.lang.reflect.Type type, KahluaTable staticBase)voidexposeMethod(java.lang.Class clazz, java.lang.reflect.Method method, java.lang.String methodName, KahluaTable staticBase)voidexposeMethod(java.lang.Class clazz, java.lang.reflect.Method method, KahluaTable staticBase)java.util.MapgetClassDebugInformation()java.lang.StringgetDefinition(java.lang.Object obj)booleanisExposed(java.lang.Class clazz)booleanshouldExpose(java.lang.Class clazz)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 manager, Platform platform, KahluaTable environment) -
LuaJavaClassExposer
public LuaJavaClassExposer(KahluaConverterManager manager, Platform platform, KahluaTable environment_, KahluaTable autoExposeBase)
-
-
Method Details
-
getClassDebugInformation
public java.util.Map getClassDebugInformation() -
exposeGlobalObjectFunction
public void exposeGlobalObjectFunction(KahluaTable environment, java.lang.Object owner, java.lang.reflect.Method method) -
exposeGlobalObjectFunction
public void exposeGlobalObjectFunction(KahluaTable environment, java.lang.Object owner, java.lang.reflect.Method method, java.lang.String methodName) -
exposeGlobalClassFunction
public void exposeGlobalClassFunction(KahluaTable environment, java.lang.Class clazz, java.lang.reflect.Constructor constructor, java.lang.String methodName) -
exposeGlobalClassFunction
public void exposeGlobalClassFunction(KahluaTable environment, java.lang.Class clazz, java.lang.reflect.Method method, java.lang.String methodName) -
exposeMethod
public void exposeMethod(java.lang.Class clazz, java.lang.reflect.Method method, KahluaTable staticBase) -
exposeMethod
public void exposeMethod(java.lang.Class clazz, java.lang.reflect.Method method, java.lang.String methodName, KahluaTable staticBase) -
shouldExpose
public boolean shouldExpose(java.lang.Class clazz) -
exposeGlobalFunctions
public void exposeGlobalFunctions(java.lang.Object object) -
exposeLikeJava
public void exposeLikeJava(java.lang.Class clazz) -
exposeLikeJava
-
isExposed
public boolean isExposed(java.lang.Class clazz) -
getDefinition
public java.lang.String getDefinition(java.lang.Object obj) -
exposeLikeJavaRecursively
public void exposeLikeJavaRecursively(java.lang.reflect.Type type) -
exposeLikeJavaRecursively
-