Package org.jruby.ir.targets.indy
Class ConstantLookupSite
java.lang.Object
java.lang.invoke.CallSite
java.lang.invoke.MutableCallSite
org.jruby.ir.targets.indy.ConstantLookupSite
Created by headius on 1/31/16.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstantLookupSite
(MethodType type, String name, boolean publicOnly, boolean callConstMissing) -
Method Summary
Modifier and TypeMethodDescriptionstatic CallSite
constLookup
(MethodHandles.Lookup lookup, String searchType, MethodType type, String constName, int publicOnly, int callConstMissing) inheritanceSearchConst
(ThreadContext context, IRubyObject cmVal) lexicalSearchConst
(ThreadContext context, StaticScope scope) noCacheInheritanceSearchConst
(ThreadContext context, IRubyObject cmVal) noCacheSearchModuleForConst
(ThreadContext context, IRubyObject cmVal) searchConst
(ThreadContext context, StaticScope staticScope) searchModuleForConst
(ThreadContext context, IRubyObject cmVal) Methods inherited from class java.lang.invoke.MutableCallSite
dynamicInvoker, getTarget, setTarget, syncAll
-
Field Details
-
BOOTSTRAP
public static final org.objectweb.asm.Handle BOOTSTRAP
-
-
Constructor Details
-
ConstantLookupSite
public ConstantLookupSite(MethodType type, String name, boolean publicOnly, boolean callConstMissing)
-
-
Method Details
-
constLookup
public static CallSite constLookup(MethodHandles.Lookup lookup, String searchType, MethodType type, String constName, int publicOnly, int callConstMissing) -
searchConst
-
searchModuleForConst
- Throws:
Throwable
-
noCacheSearchModuleForConst
-
inheritanceSearchConst
public IRubyObject inheritanceSearchConst(ThreadContext context, IRubyObject cmVal) throws Throwable - Throws:
Throwable
-
noCacheInheritanceSearchConst
-
lexicalSearchConst
-