public class DefaultJavaReflector extends Object implements JavaReflector
JavaReflector
interface.JavaReflector.Metamethod
Modifier and Type | Method and Description |
---|---|
static DefaultJavaReflector |
getInstance()
Returns the instance of this class.
|
JavaFunction |
getMetamethod(JavaReflector.Metamethod metamethod)
Returns the metamethod implementation of this Java reflector for the
specified metamethod.
|
public static DefaultJavaReflector getInstance()
public JavaFunction getMetamethod(JavaReflector.Metamethod metamethod)
JavaReflector
null
.getMetamethod
in interface JavaReflector
metamethod
- the metamethodnull
if this Java reflector
does not support the metamethod