Modifier and Type | Class and Description |
---|---|
static class |
RubyKernel.MethodMissingMethod |
static class |
RubyModule.RespondToMissingMethod |
Modifier and Type | Field and Description |
---|---|
protected DynamicMethod |
RubyMethod.method |
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
Ruby.getDefaultMethodMissing() |
DynamicMethod |
RubyMethod.getMethod() |
DynamicMethod |
Ruby.getNormalMethodMissing() |
DynamicMethod |
Ruby.getPrivateMethodMissing() |
DynamicMethod |
Ruby.getProtectedMethodMissing() |
DynamicMethod |
Ruby.getRespondToMethod() |
DynamicMethod |
Ruby.getSuperMethodMissing() |
DynamicMethod |
Ruby.getVariableMethodMissing() |
DynamicMethod |
RubyModule.retrieveMethod(String name)
Search through this module and supermodules for method definitions.
|
DynamicMethod |
RubyModule.searchMethod(String name)
Search through this module and supermodules for method definitions.
|
DynamicMethod |
RubyModule.searchMethodInner(String name) |
Modifier and Type | Method and Description |
---|---|
Map<String,DynamicMethod> |
RubyModule.getMethods() |
Map<String,DynamicMethod> |
IncludedModuleWrapper.getMethods() |
Map<String,DynamicMethod> |
RubyModule.getMethodsForWrite() |
Map<String,DynamicMethod> |
IncludedModuleWrapper.getMethodsForWrite() |
Modifier and Type | Method and Description |
---|---|
void |
RubyModule.addMethod(String name,
DynamicMethod method) |
void |
IncludedModuleWrapper.addMethod(String name,
DynamicMethod method) |
void |
RubyModule.addMethodAtBootTimeOnly(String name,
DynamicMethod method)
This method is not intended for use by normal users; it is a fast-path
method that skips synchronization and hierarchy invalidation to speed
boot-time method definition.
|
void |
RubyModule.addMethodInternal(String name,
DynamicMethod method) |
void |
RubyModule.addModuleFunction(String name,
DynamicMethod method) |
abstract CacheEntry |
RubyModule.CacheEntryFactory.newCacheEntry(DynamicMethod method,
int token) |
CacheEntry |
RubyModule.SynchronizedCacheEntryFactory.newCacheEntry(DynamicMethod method,
int token) |
CacheEntry |
RubyModule.ProfilingCacheEntryFactory.newCacheEntry(DynamicMethod method,
int token) |
static RubyMethod |
RubyMethod.newMethod(RubyModule implementationModule,
String methodName,
RubyModule originModule,
String originName,
DynamicMethod method,
IRubyObject receiver) |
static RubyUnboundMethod |
RubyUnboundMethod.newUnboundMethod(RubyModule implementationModule,
String methodName,
RubyModule originModule,
String originName,
DynamicMethod method) |
boolean |
RubyClass.notVisibleAndNotMethodMissing(DynamicMethod method,
String name,
IRubyObject caller,
CallType callType) |
void |
Ruby.setDefaultMethodMissing(DynamicMethod method) |
void |
Ruby.setNormalMethodMissing(DynamicMethod method) |
void |
Ruby.setPrivateMethodMissing(DynamicMethod method) |
void |
Ruby.setProtectedMethodMissing(DynamicMethod method) |
void |
Ruby.setRespondToMethod(DynamicMethod rtm) |
void |
Ruby.setSuperMethodMissing(DynamicMethod method) |
void |
Ruby.setVariableMethodMissing(DynamicMethod method) |
Modifier and Type | Method and Description |
---|---|
static DynamicMethod |
TypePopulator.populateModuleMethod(RubyModule cls,
JavaMethod javaMethod) |
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
RuntimeCache.getMethod(ThreadContext context,
IRubyObject self,
int index,
String methodName) |
protected DynamicMethod |
AbstractScript.getMethod(ThreadContext context,
IRubyObject self,
int i,
String methodName) |
DynamicMethod |
RuntimeCache.getMethod(ThreadContext context,
RubyClass selfType,
int index,
String methodName) |
protected DynamicMethod |
AbstractScript.getMethod0(ThreadContext context,
IRubyObject self,
String methodName) |
protected DynamicMethod |
AbstractScript.getMethod1(ThreadContext context,
IRubyObject self,
String methodName) |
protected DynamicMethod |
AbstractScript.getMethod2(ThreadContext context,
IRubyObject self,
String methodName) |
protected DynamicMethod |
AbstractScript.getMethod3(ThreadContext context,
IRubyObject self,
String methodName) |
protected DynamicMethod |
AbstractScript.getMethod4(ThreadContext context,
IRubyObject self,
String methodName) |
protected DynamicMethod |
AbstractScript.getMethod5(ThreadContext context,
IRubyObject self,
String methodName) |
protected DynamicMethod |
AbstractScript.getMethod6(ThreadContext context,
IRubyObject self,
String methodName) |
protected DynamicMethod |
AbstractScript.getMethod7(ThreadContext context,
IRubyObject self,
String methodName) |
protected DynamicMethod |
AbstractScript.getMethod8(ThreadContext context,
IRubyObject self,
String methodName) |
protected DynamicMethod |
AbstractScript.getMethod9(ThreadContext context,
IRubyObject self,
String methodName) |
DynamicMethod |
RuntimeCache.searchWithCache(IRubyObject obj,
int index,
String name1) |
DynamicMethod |
RuntimeCache.searchWithCache(IRubyObject obj,
int index,
String name1,
String name2) |
DynamicMethod |
RuntimeCache.searchWithCache(IRubyObject obj,
int index,
String name1,
String name2,
String name3) |
DynamicMethod |
RuntimeCache.searchWithCache(IRubyObject obj,
int index,
String name1,
String name2,
String name3,
String name4) |
DynamicMethod |
RuntimeCache.searchWithCache(IRubyObject obj,
int index,
String name1,
String name2,
String name3,
String name4,
String name5) |
DynamicMethod |
RuntimeCache.searchWithCache(IRubyObject obj,
int index,
String name1,
String name2,
String name3,
String name4,
String name5,
String name6) |
DynamicMethod |
RuntimeCache.searchWithCache(IRubyObject obj,
int index,
String name1,
String name2,
String name3,
String name4,
String name5,
String name6,
String name7) |
DynamicMethod |
RuntimeCache.searchWithCache(IRubyObject obj,
int index,
String name1,
String name2,
String name3,
String name4,
String name5,
String name6,
String name7,
String name8) |
DynamicMethod |
RuntimeCache.searchWithCache(RubyClass clazz,
int index,
String name1) |
DynamicMethod |
RuntimeCache.searchWithCache(RubyClass clazz,
int index,
String name1,
String name2) |
DynamicMethod |
RuntimeCache.searchWithCache(RubyClass clazz,
int index,
String name1,
String name2,
String name3) |
DynamicMethod |
RuntimeCache.searchWithCache(RubyClass clazz,
int index,
String name1,
String name2,
String name3,
String name4) |
DynamicMethod |
RuntimeCache.searchWithCache(RubyClass clazz,
int index,
String name1,
String name2,
String name3,
String name4,
String name5) |
DynamicMethod |
RuntimeCache.searchWithCache(RubyClass clazz,
int index,
String name1,
String name2,
String name3,
String name4,
String name5,
String name6) |
DynamicMethod |
RuntimeCache.searchWithCache(RubyClass clazz,
int index,
String name1,
String name2,
String name3,
String name4,
String name5,
String name6,
String name7) |
DynamicMethod |
RuntimeCache.searchWithCache(RubyClass clazz,
int index,
String name1,
String name2,
String name3,
String name4,
String name5,
String name6,
String name7,
String name8) |
Modifier and Type | Class and Description |
---|---|
class |
NativeMethod
NativeMethod represents a method handle to a C extension function in JRuby,
to provide entry points into C code. |
class |
NativeMethod0
NativeMethod0 represents an arity-0 native method. |
class |
NativeMethod1
NativeMethod1 represents an arity-1 native method. |
class |
NativeMethod2
NativeMethod2 represents an arity-2 native method. |
class |
NativeMethod3
NativeMethod3 represents an arity-3 native method. |
class |
NativeProcMethod
A
NativeProcMethod represents native functions that are wrapped in a RubyProc
object. |
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
NativeMethod.dup() |
static DynamicMethod |
JRuby.newMethod(RubyModule module,
long fn,
int arity) |
Modifier and Type | Method and Description |
---|---|
protected abstract DynamicMethod |
AbstractInvoker.createDynamicMethod(RubyModule module) |
Modifier and Type | Method and Description |
---|---|
void |
FFI.registerAttachedMethod(DynamicMethod method,
AbstractInvoker invoker) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultMethod |
class |
JITNativeInvoker |
class |
NativeInvoker |
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
JFFIInvoker.createDynamicMethod(RubyModule module) |
DynamicMethod |
Function.createDynamicMethod(RubyModule module) |
static DynamicMethod |
MethodFactory.createDynamicMethod(Ruby runtime,
RubyModule module,
com.kenai.jffi.Function function,
Type returnType,
Type[] parameterTypes,
com.kenai.jffi.CallingConvention convention,
IRubyObject enums,
boolean ignoreErrno) |
DynamicMethod |
NativeInvoker.dup() |
DynamicMethod |
DefaultMethod.dup() |
static DynamicMethod |
JITRuntime.getConversionMethod(IRubyObject parameter,
CachingCallSite callSite) |
DynamicMethod |
DefaultMethod.getMethodForCaching() |
Modifier and Type | Method and Description |
---|---|
static java.lang.invoke.MethodHandle |
InvokeDynamic.getFastNumericMethodHandle(JRubyCallSite site,
DynamicMethod method) |
static java.lang.invoke.MethodHandle |
InvokeDynamic.getMethodHandle(JRubyCallSite site,
DynamicMethod method) |
Modifier and Type | Method and Description |
---|---|
static String[] |
JRubyLibrary.MethodExtensions.methodParameters(Ruby runtime,
DynamicMethod method) |
Modifier and Type | Field and Description |
---|---|
protected DynamicMethod |
DelegatingDynamicMethod.delegate |
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
WrapperMethod.dup() |
DynamicMethod |
UndefinedMethod.dup()
A dummy implementation of dup that just returns the singleton instance.
|
DynamicMethod |
TraceableJittedMethod.dup() |
DynamicMethod |
TraceableInterpretedMethod.dup() |
DynamicMethod |
SynchronizedDynamicMethod.dup() |
DynamicMethod |
SimpleCallbackMethod.dup()
Deprecated.
|
DynamicMethod |
ProfilingDynamicMethod.dup() |
DynamicMethod |
ProcMethod.dup() |
DynamicMethod |
MethodMissingMethod.dup() |
DynamicMethod |
MethodMethod.dup() |
DynamicMethod |
JittedMethod.dup() |
DynamicMethod |
JavaMethod.dup() |
DynamicMethod |
InterpretedMethod.dup() |
DynamicMethod |
InterpretedIRMethod.dup() |
DynamicMethod |
HandleMethod.dup() |
DynamicMethod |
FullFunctionCallbackMethod.dup()
Deprecated.
|
abstract DynamicMethod |
DynamicMethod.dup()
Duplicate this method, returning DynamicMethod referencing the same code
and with the same attributes.
|
DynamicMethod |
DelegatingDynamicMethod.dup() |
DynamicMethod |
DefaultMethod.dup() |
DynamicMethod |
CompiledMethod.dup() |
DynamicMethod |
CompiledMethod.LazyCompiledMethod.dup() |
DynamicMethod |
CompiledIRMethod.dup() |
DynamicMethod |
AliasMethod.dup() |
DynamicMethod |
ReflectionMethodFactory.getAnnotatedMethod(RubyModule implementationClass,
JavaMethodDescriptor desc)
Use reflection to provide a method handle based on an annotated Java
method.
|
DynamicMethod |
InvokeDynamicMethodFactory.getAnnotatedMethod(RubyModule implementationClass,
JavaMethodDescriptor desc)
Use code generation to provide a method handle based on an annotated Java
method.
|
DynamicMethod |
InvocationMethodFactory.getAnnotatedMethod(RubyModule implementationClass,
JavaMethodDescriptor desc)
Use code generation to provide a method handle based on an annotated Java
method.
|
DynamicMethod |
ReflectionMethodFactory.getAnnotatedMethod(RubyModule implementationClass,
List<JavaMethodDescriptor> descs)
Use reflection to provide a method handle based on an annotated Java
method.
|
DynamicMethod |
InvokeDynamicMethodFactory.getAnnotatedMethod(RubyModule implementationClass,
List<JavaMethodDescriptor> descs) |
DynamicMethod |
InvocationMethodFactory.getAnnotatedMethod(RubyModule implementationClass,
List<JavaMethodDescriptor> descs)
Use code generation to provide a method handle based on an annotated Java
method.
|
DynamicMethod |
ReflectionMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use reflection to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvokeDynamicMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use JSR292 to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvocationMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use code generation to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
ReflectionMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use reflection to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvokeDynamicMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use code generation to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvocationMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use code generation to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
DelegatingDynamicMethod.getDelegate() |
DynamicMethod |
DefaultMethod.getMethodForCaching() |
DynamicMethod |
CacheableMethod.getMethodForCaching() |
DynamicMethod |
WrapperMethod.getRealMethod() |
DynamicMethod |
TraceableJittedMethod.getRealMethod() |
DynamicMethod |
MethodMethod.getRealMethod() |
DynamicMethod |
JittedMethod.getRealMethod() |
DynamicMethod |
DynamicMethod.getRealMethod()
Get the "real" method contained within this method.
|
DynamicMethod |
DelegatingDynamicMethod.getRealMethod() |
DynamicMethod |
CompiledMethod.LazyCompiledMethod.getRealMethod() |
DynamicMethod |
AliasMethod.getRealMethod() |
static DynamicMethod |
DynamicMethodFactory.newDefaultMethod(Ruby runtime,
RubyModule container,
String name,
StaticScope scope,
Node body,
ArgsNode argsNode,
Visibility visibility,
ISourcePosition position) |
static DynamicMethod |
DynamicMethodFactory.newJittedMethod(Ruby runtime,
RubyModule container,
StaticScope scope,
Script script,
String name,
CallConfiguration config,
Visibility visibility,
Arity arity,
ISourcePosition position,
DefaultMethod defaultMethod) |
Modifier and Type | Method and Description |
---|---|
boolean |
ProcMethod.isSame(DynamicMethod method) |
Constructor and Description |
---|
AliasMethod(RubyModule implementationClass,
DynamicMethod oldMethod,
String oldName) |
DelegatingDynamicMethod(DynamicMethod delegate) |
ProfilingDynamicMethod(DynamicMethod delegate) |
SynchronizedDynamicMethod(DynamicMethod delegate) |
WrapperMethod(RubyModule implementationClass,
DynamicMethod method,
Visibility visibility)
Constructor for WrapperCallable.
|
Modifier and Type | Field and Description |
---|---|
HashMap<DynamicMethod,Integer> |
CallBase.profile |
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
MethodHandle.getResolvedMethod() |
Modifier and Type | Class and Description |
---|---|
class |
ConstructorInvoker |
class |
FieldMethodOne |
class |
FieldMethodZero |
class |
InstanceFieldGetter |
class |
InstanceFieldSetter |
class |
InstanceMethodInvoker |
class |
MethodInvoker |
class |
RubyToJavaInvoker |
class |
SingletonMethodInvoker |
class |
StaticFieldGetter |
class |
StaticFieldSetter |
class |
StaticMethodInvoker |
Modifier and Type | Class and Description |
---|---|
static class |
ArrayJavaProxy.ArrayNewMethod |
Constructor and Description |
---|
ArrayJavaProxy.ArrayNewMethod(RubyModule implClass,
Visibility visibility,
DynamicMethod oldNew) |
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
BlankSlateWrapper.searchMethodInner(String name) |
Modifier and Type | Method and Description |
---|---|
abstract DynamicMethod |
MethodFactory.getAnnotatedMethod(RubyModule implementationClass,
JavaMethodDescriptor desc)
Based on an annotated Java method object, generate a method handle using
the annotation and the target signature.
|
abstract DynamicMethod |
MethodFactory.getAnnotatedMethod(RubyModule implementationClass,
List<JavaMethodDescriptor> desc)
Based on a list of annotated Java methods, generate a method handle using
the annotation and the target signatures.
|
abstract DynamicMethod |
MethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Get a new method handle based on the target JRuby-compiled method.
|
abstract DynamicMethod |
MethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Like getCompiledMethod, but postpones any heavy lifting involved in
creating the method until first invocation.
|
static DynamicMethod |
Helpers.selectMethodMissing(RubyClass selfClass,
Visibility visibility,
String name,
CallType callType) |
static DynamicMethod |
Helpers.selectMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType) |
static DynamicMethod |
Helpers.selectMethodMissing(ThreadContext context,
RubyClass selfClass,
Visibility visibility,
String name,
CallType callType) |
Modifier and Type | Method and Description |
---|---|
static void |
Helpers.addInstanceMethod(RubyModule containingClass,
String name,
DynamicMethod method,
Visibility visibility,
ThreadContext context,
Ruby runtime) |
void |
MethodFactory.MethodDefiningCallback.define(RubyModule targetMetaClass,
JavaMethodDescriptor desc,
DynamicMethod dynamicMethod)
Deprecated.
|
int |
ThreadContext.profileEnter(String name,
DynamicMethod nextMethod) |
Modifier and Type | Field and Description |
---|---|
DynamicMethod |
CacheEntry.method |
Constructor and Description |
---|
CacheEntry(DynamicMethod method,
int token) |
Modifier and Type | Method and Description |
---|---|
static DynamicMethod |
InvocationLinker.unwrapMethod(DynamicMethod method,
String[] realName) |
Modifier and Type | Method and Description |
---|---|
boolean |
InvocationLinker.HandleGenerator.canGenerate(JRubyCallSite site,
RubyClass cls,
DynamicMethod method) |
boolean |
InvocationLinker.HandleMethodGenerator.canGenerate(JRubyCallSite site,
RubyClass cls,
DynamicMethod method) |
boolean |
InvocationLinker.AttrReaderGenerator.canGenerate(JRubyCallSite site,
RubyClass cls,
DynamicMethod method) |
boolean |
InvocationLinker.AttrWriterGenerator.canGenerate(JRubyCallSite site,
RubyClass cls,
DynamicMethod method) |
boolean |
InvocationLinker.FFIGenerator.canGenerate(JRubyCallSite site,
RubyClass cls,
DynamicMethod method) |
boolean |
InvocationLinker.JavaCallGenerator.canGenerate(JRubyCallSite site,
RubyClass cls,
DynamicMethod method) |
boolean |
InvocationLinker.RubyCallGenerator.canGenerate(JRubyCallSite site,
RubyClass cls,
DynamicMethod method) |
boolean |
InvocationLinker.CoreCallGenerator.canGenerate(JRubyCallSite site,
RubyClass cls,
DynamicMethod method) |
java.lang.invoke.MethodHandle |
InvocationLinker.HandleGenerator.generate(JRubyCallSite site,
RubyClass cls,
DynamicMethod method,
String realName) |
java.lang.invoke.MethodHandle |
InvocationLinker.HandleMethodGenerator.generate(JRubyCallSite site,
RubyClass cls,
DynamicMethod method,
String realName) |
java.lang.invoke.MethodHandle |
InvocationLinker.AttrReaderGenerator.generate(JRubyCallSite site,
RubyClass cls,
DynamicMethod method,
String realName) |
java.lang.invoke.MethodHandle |
InvocationLinker.AttrWriterGenerator.generate(JRubyCallSite site,
RubyClass cls,
DynamicMethod method,
String realName) |
java.lang.invoke.MethodHandle |
InvocationLinker.FFIGenerator.generate(JRubyCallSite site,
RubyClass cls,
DynamicMethod method,
String realName) |
java.lang.invoke.MethodHandle |
InvocationLinker.JavaCallGenerator.generate(JRubyCallSite site,
RubyClass cls,
DynamicMethod method,
String realName) |
java.lang.invoke.MethodHandle |
InvocationLinker.RubyCallGenerator.generate(JRubyCallSite site,
RubyClass cls,
DynamicMethod method,
String realName) |
java.lang.invoke.MethodHandle |
InvocationLinker.CoreCallGenerator.generate(JRubyCallSite site,
RubyClass cls,
DynamicMethod method,
String realName) |
static DynamicMethod |
InvocationLinker.unwrapMethod(DynamicMethod method,
String[] realName) |
Modifier and Type | Method and Description |
---|---|
void |
MarshalStream.userMarshal(IRubyObject value,
DynamicMethod method) |
void |
MarshalStream.userNewMarshal(IRubyObject value,
DynamicMethod method) |
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
ProfiledMethod.getMethod() |
Modifier and Type | Method and Description |
---|---|
void |
ProfileData.addProfiledMethod(String name,
DynamicMethod method) |
Constructor and Description |
---|
ProfiledMethod(String name,
DynamicMethod method) |
Copyright © 2001-2013 JRuby. All Rights Reserved.