private static class Helpers.MethodMissingMethod extends DynamicMethod
DynamicMethod.NativeCall| Modifier and Type | Field and Description |
|---|---|
private DynamicMethod |
delegate |
private CallType |
lastCallStatus |
private Visibility |
lastVisibility |
builtin, callConfig, handle, implementationClass, name, nativeCall, nativeCalls, notImplemented, protectedClass, serialNumber, visibility| Constructor and Description |
|---|
MethodMissingMethod(DynamicMethod delegate,
Visibility lastVisibility,
CallType lastCallStatus) |
| Modifier and Type | Method and Description |
|---|---|
IRubyObject |
call(ThreadContext context,
IRubyObject self,
RubyModule clazz,
java.lang.String name,
IRubyObject[] args,
Block block)
The minimum 'call' method required for a dynamic method handle.
|
DynamicMethod |
dup()
Duplicate this method, returning DynamicMethod referencing the same code
and with the same attributes.
|
calculateProtectedClass, call, call, call, call, call, call, call, call, call, getArity, getCallConfig, getHandle, getImplementationClass, getMethodData, getName, getNativeCall, getNativeCall, getProtectedClass, getRealMethod, getSerialNumber, getVisibility, handleBreak, handleRedo, handleReturn, init, isBuiltin, isCallableFrom, isNative, isNotImplemented, isUndefined, setCallConfig, setHandle, setImplementationClass, setIsBuiltin, setName, setNativeCall, setNativeCall, setNativeCall, setNotImplemented, setVisibilityprivate final DynamicMethod delegate
private final CallType lastCallStatus
private final Visibility lastVisibility
public MethodMissingMethod(DynamicMethod delegate, Visibility lastVisibility, CallType lastCallStatus)
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
DynamicMethodcall in class DynamicMethodcontext - The thread context for the currently executing threadself - The 'self' or 'receiver' object to use for this callname - The incoming name used to invoke this methodargs - The argument list to this invocationblock - The block passed to this invocationpublic DynamicMethod dup()
DynamicMethoddup in class DynamicMethod