public interface JavaReflector
The interface can be implemented to provide a generic Java reflector that is then configured in a Lua state. It can also be implemented by individual Java classes to provide class-specific Java reflection. If an object implements the Java reflector interface, its own Java reflector is queried first for a requested metamethod. Only if the metamethod requested is not supported, the Java reflector configured in the Lua state is queried.
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
JavaReflector.Metamethod
Lua metamethod. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
JavaFunction | 
getMetamethod(JavaReflector.Metamethod metamethod)
Returns the metamethod implementation of this Java reflector for the
 specified metamethod. 
 | 
JavaFunction getMetamethod(JavaReflector.Metamethod metamethod)
null.metamethod - the metamethodnull if this Java reflector
         does not support the metamethod