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.MethodHandles.Lookup lookup,
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 |
searchConst(ThreadContext context,
StaticScope staticScope) |
IRubyObject |
searchModuleForConst(ThreadContext context,
IRubyObject cmVal) |
dynamicInvoker, getTarget, setTarget, syncAll
type
public ConstantLookupSite(java.lang.invoke.MethodHandles.Lookup lookup, 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)
public IRubyObject inheritanceSearchConst(ThreadContext context, IRubyObject cmVal)
public IRubyObject lexicalSearchConst(ThreadContext context, StaticScope scope)
Copyright © 2001-2016 JRuby. All Rights Reserved.