Package org.jruby.ir.targets.indy
Class SuperInvokeSite
java.lang.Object
java.lang.invoke.CallSite
java.lang.invoke.MutableCallSite
org.jruby.ir.targets.indy.InvokeSite
org.jruby.ir.targets.indy.SelfInvokeSite
org.jruby.ir.targets.indy.SuperInvokeSite
- Direct Known Subclasses:
UnresolvedSuperInvokeSite,UnresolvedSuperIterInvokeSite,ZSuperInvokeSite
Created by headius on 10/23/14.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jruby.ir.targets.indy.InvokeSite
InvokeSite.CacheAction -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.objectweb.asm.Handleprotected final boolean[]protected final StringFields inherited from class org.jruby.ir.targets.indy.InvokeSite
arity, cache, callType, fallback, file, fullSignature, line, LOOKUP, methodName, NEGATE, signature -
Constructor Summary
ConstructorsConstructorDescriptionSuperInvokeSite(MethodType type, String superName, String splatmapString, String file, int line) -
Method Summary
Modifier and TypeMethodDescriptionstatic CallSitebootstrap(MethodHandles.Lookup lookup, String name, MethodType type, String splatmapString, String file, int line) abstract IRubyObjectfail(ThreadContext context, IRubyObject caller, IRubyObject self, RubyClass definingModule, IRubyObject[] args, Block block) abstract IRubyObjectinvoke(ThreadContext context, IRubyObject caller, IRubyObject self, RubyClass definingModule, IRubyObject[] args, Block block) Methods inherited from class org.jruby.ir.targets.indy.SelfInvokeSite
bootstrap, methodMissingMethods inherited from class org.jruby.ir.targets.indy.InvokeSite
bootstrap, buildAliasHandle, buildJavaFieldHandle, buildNewInstanceHandle, buildNotEqualHandle, buildStructHandle, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, fail, fail, fail, fail, fail, getHandle, invoke, name, negate, pollAndGetClass, prepareBinder, setInitialTarget, setTarget, testClass, testThresholds, toString, updateInvocationTargetMethods inherited from class java.lang.invoke.MutableCallSite
dynamicInvoker, getTarget, syncAll
-
Field Details
-
superName
-
splatMap
protected final boolean[] splatMap -
BOOTSTRAP
public static final org.objectweb.asm.Handle BOOTSTRAP
-
-
Constructor Details
-
SuperInvokeSite
public SuperInvokeSite(MethodType type, String superName, String splatmapString, String file, int line)
-
-
Method Details
-
bootstrap
public static CallSite bootstrap(MethodHandles.Lookup lookup, String name, MethodType type, String splatmapString, String file, int line) -
invoke
public abstract IRubyObject invoke(ThreadContext context, IRubyObject caller, IRubyObject self, RubyClass definingModule, IRubyObject[] args, Block block) throws Throwable - Throws:
Throwable
-
fail
public abstract IRubyObject fail(ThreadContext context, IRubyObject caller, IRubyObject self, RubyClass definingModule, IRubyObject[] args, Block block) throws Throwable - Throws:
Throwable
-