public class ArrayDerefInvokeSite extends NormalInvokeSite
Modifier and Type | Field and Description |
---|---|
static org.objectweb.asm.Handle |
BOOTSTRAP |
callType, methodName
Constructor and Description |
---|
ArrayDerefInvokeSite(java.lang.invoke.MethodType type) |
Modifier and Type | Method and Description |
---|---|
static java.lang.invoke.CallSite |
bootstrap(java.lang.invoke.MethodHandles.Lookup lookup,
String name,
java.lang.invoke.MethodType type) |
IRubyObject |
fail(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject[] args,
Block block)
Failover version uses a monomorphic cache and DynamicMethod.call, as in non-indy.
|
IRubyObject |
invoke(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject[] args,
Block block) |
methodMissing
addType, bootstrap, callMethodMissing, clearTypes, hasSeenType, name, pollAndGetClass, prepareBinder, seenTypesCount, setInitialTarget, setTarget, testClass, testMetaclass
dynamicInvoker, getTarget, syncAll
type
public ArrayDerefInvokeSite(java.lang.invoke.MethodType type)
public static java.lang.invoke.CallSite bootstrap(java.lang.invoke.MethodHandles.Lookup lookup, String name, java.lang.invoke.MethodType type)
public IRubyObject invoke(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block) throws Throwable
invoke
in class InvokeSite
Throwable
public IRubyObject fail(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block) throws Throwable
fail
in class InvokeSite
Throwable
Copyright © 2001-2016 JRuby. All Rights Reserved.