Package | Description |
---|---|
org.jruby | |
org.jruby.anno | |
org.jruby.ast.executable | |
org.jruby.ext.ffi | |
org.jruby.ext.ffi.jffi | |
org.jruby.internal.runtime.methods | |
org.jruby.ir.runtime | |
org.jruby.ir.targets | |
org.jruby.java.invokers | |
org.jruby.java.proxies | |
org.jruby.java.util | |
org.jruby.javasupport | |
org.jruby.runtime | |
org.jruby.runtime.callsite | |
org.jruby.runtime.marshal | |
org.jruby.runtime.profile |
The profile package contains the api to implement an profiler for jruby.
|
org.jruby.runtime.profile.builtin |
This package contains the implementation of
ProfilingService and all related
classes will be used for all profiling methods which are shipped with jruby. |
Modifier and Type | Class and Description |
---|---|
static class |
RubyKernel.MethodMissingMethod |
static class |
RubyModule.RespondToMissingMethod |
Modifier and Type | Field and Description |
---|---|
protected DynamicMethod |
AbstractRubyMethod.method |
Modifier and Type | Field and Description |
---|---|
protected Map<String,DynamicMethod> |
RubyModule.methods |
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
Ruby.getDefaultMethodMissing() |
DynamicMethod |
AbstractRubyMethod.getMethod() |
DynamicMethod |
Ruby.getNormalMethodMissing() |
DynamicMethod |
Ruby.getPrivateMethodMissing() |
DynamicMethod |
Ruby.getProtectedMethodMissing() |
DynamicMethod |
Ruby.getRespondToMethod() |
DynamicMethod |
Ruby.getRespondToMissingMethod() |
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.
|
protected DynamicMethod |
RubyModule.searchMethodCommon(String name) |
protected DynamicMethod |
IncludedModuleWrapper.searchMethodCommon(String name) |
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) |
static boolean |
RubyClass.checkFuncallCallable(ThreadContext context,
DynamicMethod method,
CallType callType,
IRubyObject self) |
boolean |
Ruby.isDefaultMethodMissing(DynamicMethod method) |
abstract CacheEntry |
RubyModule.CacheEntryFactory.newCacheEntry(String name,
DynamicMethod method,
int token) |
CacheEntry |
RubyModule.SynchronizedCacheEntryFactory.newCacheEntry(String name,
DynamicMethod method,
int token) |
CacheEntry |
RubyModule.ProfilingCacheEntryFactory.newCacheEntry(String name,
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) |
static boolean |
RubyClass.rbMethodCallStatus(ThreadContext context,
DynamicMethod method,
CallType callType,
IRubyObject self) |
void |
Ruby.setDefaultMethodMissing(DynamicMethod method,
DynamicMethod moduleMethod) |
void |
Ruby.setNormalMethodMissing(DynamicMethod method) |
void |
Ruby.setPrivateMethodMissing(DynamicMethod method) |
void |
Ruby.setProtectedMethodMissing(DynamicMethod method) |
void |
Ruby.setRespondToMethod(DynamicMethod rtm) |
void |
Ruby.setRespondToMissingMethod(DynamicMethod rtmm) |
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 | 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 | Field and Description |
---|---|
DynamicMethod |
MixedModeIRMethod.DynamicMethodBox.actualMethod |
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 |
SynchronizedDynamicMethod.dup() |
DynamicMethod |
ProfilingDynamicMethod.dup() |
DynamicMethod |
ProcMethod.dup() |
DynamicMethod |
NullMethod.dup()
A dummy implementation of dup that just returns the singleton instance.
|
DynamicMethod |
MixedModeIRMethod.dup() |
DynamicMethod |
MethodMissingMethod.dup() |
DynamicMethod |
MethodMethod.dup() |
DynamicMethod |
JavaMethod.dup() |
DynamicMethod |
InterpretedIRMethod.dup() |
DynamicMethod |
HandleMethod.dup() |
abstract DynamicMethod |
DynamicMethod.dup()
Duplicate this method, returning DynamicMethod referencing the same code
and with the same attributes.
|
DynamicMethod |
DelegatingDynamicMethod.dup() |
DynamicMethod |
CompiledIRMethod.dup() |
DynamicMethod |
CompiledIRMetaClassBody.dup() |
DynamicMethod |
AliasMethod.dup() |
DynamicMethod |
MixedModeIRMethod.getActualMethod() |
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 |
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 |
DelegatingDynamicMethod.getDelegate() |
DynamicMethod |
MixedModeIRMethod.getMethodForCaching() |
DynamicMethod |
CacheableMethod.getMethodForCaching() |
DynamicMethod |
WrapperMethod.getRealMethod() |
DynamicMethod |
MethodMethod.getRealMethod() |
DynamicMethod |
DynamicMethod.getRealMethod()
Get the "real" method contained within this method.
|
DynamicMethod |
DelegatingDynamicMethod.getRealMethod() |
DynamicMethod |
AliasMethod.getRealMethod() |
Modifier and Type | Method and Description |
---|---|
void |
MixedModeIRMethod.completeBuild(DynamicMethod newMethod) |
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 | Method and Description |
---|---|
static DynamicMethod |
IRRuntimeHelpers.newCompiledClassBody(ThreadContext context,
java.lang.invoke.MethodHandle handle,
IRScope irClassBody,
Object container,
Object superClass) |
static DynamicMethod |
IRRuntimeHelpers.newCompiledMetaClass(ThreadContext context,
java.lang.invoke.MethodHandle handle,
IRScope metaClassBody,
IRubyObject obj)
Construct a new DynamicMethod to wrap the given IRModuleBody and singletonizable object.
|
static DynamicMethod |
IRRuntimeHelpers.newCompiledModuleBody(ThreadContext context,
java.lang.invoke.MethodHandle handle,
IRScope irModule,
Object rubyContainer) |
static DynamicMethod |
IRRuntimeHelpers.newInterpretedClassBody(ThreadContext context,
IRScope irClassBody,
Object container,
Object superClass) |
static DynamicMethod |
IRRuntimeHelpers.newInterpretedMetaClass(Ruby runtime,
IRScope metaClassBody,
IRubyObject obj)
Construct a new DynamicMethod to wrap the given IRModuleBody and singletonizable object.
|
static DynamicMethod |
IRRuntimeHelpers.newInterpretedModuleBody(ThreadContext context,
IRScope irModule,
Object rubyContainer)
Construct a new DynamicMethod to wrap the given IRModuleBody and singletonizable object.
|
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
IRRuntimeHelpers.invokeModuleBody(ThreadContext context,
DynamicMethod method,
Block block) |
Modifier and Type | Method and Description |
---|---|
static int |
Bootstrap.getNativeArgCount(DynamicMethod method,
DynamicMethod.NativeCall nativeCall) |
Modifier and Type | Class and Description |
---|---|
class |
ConstructorInvoker |
class |
FieldMethodOne |
class |
FieldMethodZero |
class |
InstanceFieldGetter |
class |
InstanceFieldSetter |
class |
InstanceMethodInvoker |
class |
MethodInvoker |
class |
RubyToJavaInvoker<T extends JavaCallable> |
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 |
---|---|
protected DynamicMethod |
BlankSlateWrapper.searchMethodCommon(String name) |
Modifier and Type | Class and Description |
---|---|
static class |
Java.JCreateMethod |
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.
|
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 RubySymbol |
Helpers.addInstanceMethod(RubyModule containingClass,
String name,
DynamicMethod method,
Visibility visibility,
ThreadContext context,
Ruby runtime) |
static ArgumentDescriptor[] |
Helpers.methodToArgumentDescriptors(DynamicMethod method) |
int |
ThreadContext.profileEnter(String name,
DynamicMethod nextMethod) |
Constructor and Description |
---|
MethodBlockBody(StaticScope staticScope,
Signature signature,
DynamicMethod method,
ArgumentDescriptor[] argsDesc,
IRubyObject receiver,
RubyModule originModule,
String originName,
String file,
int line) |
Modifier and Type | Field and Description |
---|---|
DynamicMethod |
CacheEntry.method |
Constructor and Description |
---|
CacheEntry(DynamicMethod method,
int token) |
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 |
MethodEnhancer.enhance(String name,
DynamicMethod delegate)
Will be called with a method which should be enhanced.
|
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
MethodEnhancer.enhance(String name,
DynamicMethod delegate)
Will be called with a method which should be enhanced.
|
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
ProfiledMethod.getMethod() |
Modifier and Type | Method and Description |
---|---|
void |
ProfiledMethods.addProfiledMethod(String name,
DynamicMethod method) |
Constructor and Description |
---|
ProfiledMethod(String name,
DynamicMethod method) |
Copyright © 2001-2015 JRuby. All Rights Reserved.