Modifier and Type | Field and Description |
---|---|
protected CacheEntry |
AbstractRubyMethod.entry |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,CacheEntry> |
RubyModule.cachedMethods |
Modifier and Type | Method and Description |
---|---|
protected CacheEntry |
RubyModule.addToCache(java.lang.String id,
CacheEntry entry) |
protected CacheEntry |
RubyModule.addToCache(java.lang.String id,
DynamicMethod method,
RubyModule sourceModule,
int token) |
abstract CacheEntry |
RubyModule.CacheEntryFactory.newCacheEntry(java.lang.String id,
DynamicMethod method,
RubyModule sourceModule,
int token) |
CacheEntry |
RubyModule.SynchronizedCacheEntryFactory.newCacheEntry(java.lang.String id,
DynamicMethod method,
RubyModule sourceModule,
int token) |
CacheEntry |
RubyModule.ProfilingCacheEntryFactory.newCacheEntry(java.lang.String id,
DynamicMethod method,
RubyModule sourceModule,
int token) |
CacheEntry |
RubyModule.resolveRefinedMethod(java.util.Map<RubyModule,RubyModule> refinements,
CacheEntry entry,
java.lang.String id,
boolean cacheUndef) |
CacheEntry |
RubyModule.searchMethodEntryInner(java.lang.String id) |
CacheEntry |
RubyModule.searchWithCache(java.lang.String name)
Search for the named method in this class and in superclasses, and if found return the CacheEntry representing
the method and this class's serial number.
|
CacheEntry |
RubyModule.searchWithCache(java.lang.String id,
boolean cacheUndef)
Search through this module and supermodules for method definitions.
|
CacheEntry |
RubyModule.searchWithRefinements(java.lang.String name,
StaticScope refinedScope)
Search for the named method in this class and in superclasses applying refinements from the given scope.
|
Modifier and Type | Method and Description |
---|---|
protected CacheEntry |
RubyModule.addToCache(java.lang.String id,
CacheEntry entry) |
static RubyMethod |
RubyMethod.newMethod(RubyModule implementationModule,
java.lang.String methodName,
RubyModule originModule,
java.lang.String originName,
CacheEntry entry,
IRubyObject receiver) |
static RubyUnboundMethod |
RubyUnboundMethod.newUnboundMethod(RubyModule implementationModule,
java.lang.String methodName,
RubyModule originModule,
java.lang.String originName,
CacheEntry entry) |
void |
RubyModule.putAlias(java.lang.String id,
CacheEntry entry,
java.lang.String oldName)
Alias the method contained in the given CacheEntry as a new entry in this module.
|
CacheEntry |
RubyModule.resolveRefinedMethod(java.util.Map<RubyModule,RubyModule> refinements,
CacheEntry entry,
java.lang.String id,
boolean cacheUndef) |
Modifier and Type | Field and Description |
---|---|
CacheEntry[] |
RuntimeCache.methodCache |
Modifier and Type | Method and Description |
---|---|
CacheEntry |
RuntimeCache.getMethodEntry(ThreadContext context,
RubyClass selfType,
int index,
java.lang.String methodName) |
Constructor and Description |
---|
AliasMethod(RubyModule implementationClass,
CacheEntry entry,
java.lang.String oldName)
For some java native methods it is convenient to pass in a String instead
of a ByteList.
|
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
InvokeSite.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
RubyClass selfClass,
java.lang.String name,
IRubyObject[] args,
Block block)
Variable arity method_missing invocation.
|
static IRubyObject |
InvokeSite.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
RubyClass selfClass,
java.lang.String name,
IRubyObject arg0,
Block block)
Arity one method_missing invocation
|
static IRubyObject |
InvokeSite.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
RubyClass selfClass,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
Block block)
Arity two method_missing invocation
|
static IRubyObject |
InvokeSite.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
RubyClass selfClass,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block)
Arity three method_missing invocation
|
boolean |
NormalInvokeSite.methodMissing(CacheEntry entry,
IRubyObject caller) |
boolean |
SelfInvokeSite.methodMissing(CacheEntry entry,
IRubyObject caller) |
abstract boolean |
InvokeSite.methodMissing(CacheEntry entry,
IRubyObject caller) |
Modifier and Type | Field and Description |
---|---|
CacheEntry |
Helpers.MethodMissingMethod.entry |
Constructor and Description |
---|
MethodBlockBody(StaticScope staticScope,
Signature signature,
CacheEntry entry,
ArgumentDescriptor[] argsDesc,
IRubyObject receiver,
RubyModule originModule,
java.lang.String originName,
java.lang.String file,
int line) |
MethodMissingMethod(CacheEntry entry,
Visibility lastVisibility,
CallType lastCallStatus) |
Modifier and Type | Field and Description |
---|---|
protected CacheEntry |
CachingCallSite.builtinCache |
protected CacheEntry |
CachingCallSite.cache |
static CacheEntry |
CacheEntry.NULL_CACHE |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
InvokeDynamicSupport.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg) |
static boolean |
InvokeDynamicSupport.methodMissing(CacheEntry entry,
CallType callType,
java.lang.String name,
IRubyObject caller) |
Modifier and Type | Method and Description |
---|---|
void |
MarshalStream.userMarshal(IRubyObject value,
CacheEntry entry) |
void |
MarshalStream.userNewMarshal(IRubyObject value,
CacheEntry entry) |
Copyright © 2001-2020 JRuby. All Rights Reserved.