public class ConstantLookupSite extends java.lang.invoke.MutableCallSite
| Modifier and Type | Field and Description |
|---|---|
static org.objectweb.asm.Handle |
BOOTSTRAP |
| Constructor and Description |
|---|
ConstantLookupSite(java.lang.invoke.MethodType type,
String name,
boolean publicOnly) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.invoke.CallSite |
constLookup(java.lang.invoke.MethodHandles.Lookup lookup,
String searchType,
java.lang.invoke.MethodType type,
String constName,
int publicOnly) |
IRubyObject |
inheritanceSearchConst(ThreadContext context,
IRubyObject cmVal) |
IRubyObject |
lexicalSearchConst(ThreadContext context,
StaticScope scope) |
IRubyObject |
noCacheInheritanceSearchConst(ThreadContext context,
IRubyObject cmVal) |
IRubyObject |
noCacheSearchModuleForConst(ThreadContext context,
IRubyObject cmVal) |
IRubyObject |
searchConst(ThreadContext context,
StaticScope staticScope) |
IRubyObject |
searchModuleForConst(ThreadContext context,
IRubyObject cmVal) |
dynamicInvoker, getTarget, setTarget, syncAlltypepublic ConstantLookupSite(java.lang.invoke.MethodType type, String name, boolean publicOnly)
public static java.lang.invoke.CallSite constLookup(java.lang.invoke.MethodHandles.Lookup lookup, String searchType, java.lang.invoke.MethodType type, String constName, int publicOnly)
public IRubyObject searchConst(ThreadContext context, StaticScope staticScope)
public IRubyObject searchModuleForConst(ThreadContext context, IRubyObject cmVal) throws Throwable
Throwablepublic IRubyObject noCacheSearchModuleForConst(ThreadContext context, IRubyObject cmVal)
public IRubyObject inheritanceSearchConst(ThreadContext context, IRubyObject cmVal) throws Throwable
Throwablepublic IRubyObject noCacheInheritanceSearchConst(ThreadContext context, IRubyObject cmVal)
public IRubyObject lexicalSearchConst(ThreadContext context, StaticScope scope)
Copyright © 2001-2017 JRuby. All Rights Reserved.