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,
java.lang.String name,
boolean publicOnly,
boolean callConstMissing) |
Modifier and Type | Method and Description |
---|---|
static java.lang.invoke.CallSite |
constLookup(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.String searchType,
java.lang.invoke.MethodType type,
java.lang.String constName,
int publicOnly,
int callConstMissing) |
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) |
public ConstantLookupSite(java.lang.invoke.MethodType type, java.lang.String name, boolean publicOnly, boolean callConstMissing)
public static java.lang.invoke.CallSite constLookup(java.lang.invoke.MethodHandles.Lookup lookup, java.lang.String searchType, java.lang.invoke.MethodType type, java.lang.String constName, int publicOnly, int callConstMissing)
public IRubyObject searchConst(ThreadContext context, StaticScope staticScope)
public IRubyObject searchModuleForConst(ThreadContext context, IRubyObject cmVal) throws java.lang.Throwable
java.lang.Throwable
public IRubyObject noCacheSearchModuleForConst(ThreadContext context, IRubyObject cmVal)
public IRubyObject inheritanceSearchConst(ThreadContext context, IRubyObject cmVal) throws java.lang.Throwable
java.lang.Throwable
public IRubyObject noCacheInheritanceSearchConst(ThreadContext context, IRubyObject cmVal)
public IRubyObject lexicalSearchConst(ThreadContext context, StaticScope scope)
Copyright © 2001-2018 JRuby. All Rights Reserved.