Uses of Class
org.jruby.internal.runtime.methods.DynamicMethod
Packages that use DynamicMethod
Package
Description
The profile package contains the api to implement an profiler for jruby.
This package contains the implementation of
ProfilingService
and all related
classes will be used for all profiling methods which are shipped with jruby.-
Uses of DynamicMethod in org.jruby
Subclasses of DynamicMethod in org.jrubyModifier and TypeClassDescriptionstatic class
static class
static class
static class
Fields in org.jruby declared as DynamicMethodFields in org.jruby with type parameters of type DynamicMethodMethods in org.jruby that return DynamicMethodModifier and TypeMethodDescriptionRubyStruct.Accessor.dup()
RubyStruct.Mutator.dup()
Ruby.getBaseNewMethod()
Get the base Class#new method.Ruby.getDefaultMethodMissing()
AbstractRubyMethod.getMethod()
Ruby.getNormalMethodMissing()
Ruby.getPrivateMethodMissing()
Ruby.getProtectedMethodMissing()
Ruby.getRespondToMethod()
Ruby.getRespondToMissingMethod()
Ruby.getSuperMethodMissing()
Ruby.getVariableMethodMissing()
RubyModule.putMethod
(Ruby runtime, String id, DynamicMethod method) Deprecated.RubyModule.putMethod
(ThreadContext context, String id, DynamicMethod method) Note: Internal API - only public as its used by generated code!RubyModule.retrieveMethod
(String name) Search through this module and supermodules for method definitions.final DynamicMethod
RubyModule.searchMethod
(String name) Search through this module and supermodules for method definitions.protected DynamicMethod
RubyModule.searchMethodCommon
(String id) RubyModule.searchMethodInner
(String id) RubyModule.searchMethodLateral
(String id) Deprecated.Methods in org.jruby that return types with arguments of type DynamicMethodMethods in org.jruby with parameters of type DynamicMethodModifier and TypeMethodDescriptionvoid
PrependedModule.addMethod
(ThreadContext context, String id, DynamicMethod method) void
RubyModule.addMethod
(String id, DynamicMethod method) Deprecated.void
RubyModule.addMethod
(ThreadContext context, String id, DynamicMethod method) final void
RubyModule.addMethodInternal
(String name, DynamicMethod method) Deprecated.final void
RubyModule.addMethodInternal
(ThreadContext context, String name, DynamicMethod method) void
RubyModule.addModuleFunction
(String name, DynamicMethod method) Deprecated.protected CacheEntry
RubyModule.addToCache
(String id, DynamicMethod method, RubyModule sourceModule, int token) RubyClass.getPositionOrDefault
(DynamicMethod method) boolean
Ruby.isDefaultMethodMissing
(DynamicMethod method) abstract CacheEntry
RubyModule.CacheEntryFactory.newCacheEntry
(String id, DynamicMethod method, RubyModule sourceModule, int token) RubyModule.ProfilingCacheEntryFactory.newCacheEntry
(String id, DynamicMethod method, RubyModule sourceModule, int token) RubyModule.SynchronizedCacheEntryFactory.newCacheEntry
(String id, DynamicMethod method, RubyModule sourceModule, int token) void
RubyModule.putAlias
(String id, DynamicMethod method, String oldName) Deprecated.void
RubyModule.putAlias
(ThreadContext context, String id, DynamicMethod method, String oldName) Note: Internal API - only public as its used by generated code!RubyModule.putMethod
(Ruby runtime, String id, DynamicMethod method) Deprecated.RubyModule.putMethod
(ThreadContext context, String id, DynamicMethod method) Note: Internal API - only public as its used by generated code!void
Ruby.setBaseNewMethod
(DynamicMethod baseNewMethod) Set the base Class#new method.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) -
Uses of DynamicMethod in org.jruby.anno
Methods in org.jruby.anno that return DynamicMethodModifier and TypeMethodDescriptionstatic DynamicMethod
TypePopulator.populateModuleMethod
(RubyModule cls, DynamicMethod javaMethod) Deprecated.static DynamicMethod
TypePopulator.populateModuleMethod
(RubyModule cls, RubyClass singletonClass, DynamicMethod javaMethod) Methods in org.jruby.anno with parameters of type DynamicMethodModifier and TypeMethodDescriptionstatic DynamicMethod
TypePopulator.populateModuleMethod
(RubyModule cls, DynamicMethod javaMethod) Deprecated.static DynamicMethod
TypePopulator.populateModuleMethod
(RubyModule cls, RubyClass singletonClass, DynamicMethod javaMethod) -
Uses of DynamicMethod in org.jruby.ast.executable
Methods in org.jruby.ast.executable that return DynamicMethodModifier and TypeMethodDescriptionprotected DynamicMethod
AbstractScript.getMethod
(ThreadContext context, IRubyObject self, int i, String methodName) RuntimeCache.getMethod
(ThreadContext context, RubyClass selfType, int index, String methodName) RuntimeCache.getMethod
(ThreadContext context, IRubyObject self, 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) RuntimeCache.searchWithCache
(RubyClass clazz, int index, String name1) RuntimeCache.searchWithCache
(RubyClass clazz, int index, String name1, String name2) RuntimeCache.searchWithCache
(RubyClass clazz, int index, String name1, String name2, String name3) RuntimeCache.searchWithCache
(RubyClass clazz, int index, String name1, String name2, String name3, String name4) RuntimeCache.searchWithCache
(RubyClass clazz, int index, String name1, String name2, String name3, String name4, String name5) RuntimeCache.searchWithCache
(RubyClass clazz, int index, String name1, String name2, String name3, String name4, String name5, String name6) RuntimeCache.searchWithCache
(RubyClass clazz, int index, String name1, String name2, String name3, String name4, String name5, String name6, String name7) RuntimeCache.searchWithCache
(RubyClass clazz, int index, String name1, String name2, String name3, String name4, String name5, String name6, String name7, String name8) RuntimeCache.searchWithCache
(IRubyObject obj, int index, String name1) RuntimeCache.searchWithCache
(IRubyObject obj, int index, String name1, String name2) RuntimeCache.searchWithCache
(IRubyObject obj, int index, String name1, String name2, String name3) RuntimeCache.searchWithCache
(IRubyObject obj, int index, String name1, String name2, String name3, String name4) RuntimeCache.searchWithCache
(IRubyObject obj, int index, String name1, String name2, String name3, String name4, String name5) RuntimeCache.searchWithCache
(IRubyObject obj, int index, String name1, String name2, String name3, String name4, String name5, String name6) RuntimeCache.searchWithCache
(IRubyObject obj, int index, String name1, String name2, String name3, String name4, String name5, String name6, String name7) RuntimeCache.searchWithCache
(IRubyObject obj, int index, String name1, String name2, String name3, String name4, String name5, String name6, String name7, String name8) final DynamicMethod
RuntimeCache.searchWithCacheNoMethodMissing
(IRubyObject obj, int index, String name1) final DynamicMethod
RuntimeCache.searchWithCacheNoMethodMissing
(IRubyObject obj, int index, String name1, String name2) -
Uses of DynamicMethod in org.jruby.ext.ffi
Methods in org.jruby.ext.ffi that return DynamicMethodModifier and TypeMethodDescriptionprotected abstract DynamicMethod
AbstractInvoker.createDynamicMethod
(RubyModule module) Create a methodMethods in org.jruby.ext.ffi with parameters of type DynamicMethodModifier and TypeMethodDescriptionvoid
FFI.registerAttachedMethod
(DynamicMethod method, AbstractInvoker invoker) -
Uses of DynamicMethod in org.jruby.ext.ffi.jffi
Subclasses of DynamicMethod in org.jruby.ext.ffi.jffiMethods in org.jruby.ext.ffi.jffi that return DynamicMethodModifier and TypeMethodDescriptionFunction.createDynamicMethod
(RubyModule module) JFFIInvoker.createDynamicMethod
(RubyModule module) static final 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) final DynamicMethod
DefaultMethod.dup()
final DynamicMethod
NativeInvoker.dup()
static DynamicMethod
JITRuntime.getConversionMethod
(IRubyObject parameter, CachingCallSite callSite) DefaultMethod.getMethodForCaching()
-
Uses of DynamicMethod in org.jruby.internal.runtime
Subclasses of DynamicMethod in org.jruby.internal.runtimeMethods in org.jruby.internal.runtime that return DynamicMethod -
Uses of DynamicMethod in org.jruby.internal.runtime.methods
Subclasses of DynamicMethod in org.jruby.internal.runtime.methodsModifier and TypeClassDescriptionclass
Represents a method which has been aliased.class
A method type for attribute writers (as created by attr_writer or attr_accessor).class
A method type for attribute writers (as created by attr_writer or attr_accessor).class
class
class
Supports optimization for define_method.class
class
A DynamicMethod backed by one or more java.lang.invoke.MethodHandle objects.class
Created by enebo on 2/6/15.class
Method for -X-C (interpreted only execution).class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
class
class
class
This class represents a singleton type of method used as a marker for breaking method lookup loops.class
This is similar toDelegatingDynamicMethod
except that it does not delegate most properties of DynamicMethod.class
class
A DynamicMethod wrapper that performs timed profiling for each call.class
A DynamicMethod wrapper that performs timed profiling for each call.class
A DynamicMethod wrapper that performs timed profiling for each call.class
final class
This class represents a singleton type of method used as a marker for missing or "undef'ed" methods.Fields in org.jruby.internal.runtime.methods declared as DynamicMethodMethods in org.jruby.internal.runtime.methods that return DynamicMethodModifier and TypeMethodDescriptionAliasMethod.dup()
abstract DynamicMethod
DelegatingDynamicMethod.dup()
abstract DynamicMethod
DynamicMethod.dup()
Duplicate this method, returning DynamicMethod referencing the same code and with the same attributes.HandleMethod.dup()
JavaMethod.dup()
MethodMethod.dup()
MixedModeIRMethod.dup()
NullMethod.dup()
A dummy implementation of dup that just returns the singleton instance.PartialDelegatingMethod.dup()
ProcMethod.dup()
ProfilingDynamicMethod.dup()
RefinedMarker.dup()
RefinedWrapper.dup()
SynchronizedDynamicMethod.dup()
UndefinedMethod.dup()
A dummy implementation of dup that just returns the singleton instance.MixedModeIRMethod.getActualMethod()
InvocationMethodFactory.getAnnotatedMethod
(RubyModule implementationClass, List<JavaMethodDescriptor> descs, String name) Use code generation to provide a method handle based on an annotated Java method.InvocationMethodFactory.getAnnotatedMethod
(RubyModule implementationClass, JavaMethodDescriptor desc, String name) Use code generation to provide a method handle based on an annotated Java method.InvokeDynamicMethodFactory.getAnnotatedMethod
(RubyModule implementationClass, List<JavaMethodDescriptor> descs, String name) InvokeDynamicMethodFactory.getAnnotatedMethod
(RubyModule implementationClass, JavaMethodDescriptor desc, String name) Use code generation to provide a method handle based on an annotated Java method.DelegatingDynamicMethod.getDelegate()
CacheableMethod.getMethodForCaching()
AliasMethod.getRealMethod()
DelegatingDynamicMethod.getRealMethod()
DynamicMethod.getRealMethod()
Get the "real" method contained within this method.MethodMethod.getRealMethod()
PartialDelegatingMethod.getRealMethod()
RefinedWrapper.getWrapped()
Methods in org.jruby.internal.runtime.methods with parameters of type DynamicMethodModifier and TypeMethodDescriptionvoid
CompiledIRMethod.completeBuild
(ThreadContext context, DynamicMethod buildResult) void
MixedModeIRMethod.completeBuild
(ThreadContext context, DynamicMethod newMethod) boolean
ProcMethod.isSame
(DynamicMethod method) Constructors in org.jruby.internal.runtime.methods with parameters of type DynamicMethodModifierConstructorDescriptionDelegatingDynamicMethod
(DynamicMethod delegate) ProfilingDynamicMethod
(DynamicMethod delegate) RefinedWrapper
(RubyModule implementationClass, Visibility visibility, String name, DynamicMethod wrapped) SynchronizedDynamicMethod
(DynamicMethod delegate) -
Uses of DynamicMethod in org.jruby.ir.runtime
Methods in org.jruby.ir.runtime that return DynamicMethodModifier and TypeMethodDescriptionstatic DynamicMethod
IRRuntimeHelpers.newCompiledClassBody
(ThreadContext context, MethodHandle handle, String id, int line, StaticScope scope, Object container, Object superClass, boolean maybeRefined) static DynamicMethod
IRRuntimeHelpers.newCompiledMetaClass
(ThreadContext context, MethodHandle handle, StaticScope scope, IRubyObject obj, int line, boolean refinements, boolean dynscopeEliminated) Construct a new DynamicMethod to wrap the given IRModuleBody and singletonizable object.static DynamicMethod
IRRuntimeHelpers.newCompiledModuleBody
(ThreadContext context, MethodHandle handle, String id, int line, StaticScope scope, Object rubyContainer, boolean maybeRefined) static DynamicMethod
IRRuntimeHelpers.newInterpretedMetaClass
(ThreadContext context, IRScope metaClassBody, IRubyObject obj) Construct a new DynamicMethod to wrap the given IRModuleBody and singletonizable object.Methods in org.jruby.ir.runtime with parameters of type DynamicMethodModifier and TypeMethodDescriptionstatic IRubyObject
IRRuntimeHelpers.invokeModuleBody
(ThreadContext context, DynamicMethod method) -
Uses of DynamicMethod in org.jruby.ir.targets.indy
Methods in org.jruby.ir.targets.indy that return DynamicMethodModifier and TypeMethodDescriptionstatic DynamicMethod
MetaClassBootstrap.openMetaClass
(ThreadContext context, IRubyObject object, String descriptor, StaticScope parent, MethodHandle body, StaticScope scope, MethodHandle setScope, int line, boolean dynscopeEliminated, boolean refinements) Methods in org.jruby.ir.targets.indy with parameters of type DynamicMethodModifier and TypeMethodDescriptionstatic MethodHandle
JavaBootstrap.createJavaHandle
(InvokeSite site, DynamicMethod method) protected MethodHandle
InvokeSite.updateInvocationTarget
(MethodHandle target, IRubyObject self, RubyModule testClass, DynamicMethod method, SwitchPoint switchPoint) Update the given call site using the new target, wrapping with appropriate bind and argument-juggling logic. -
Uses of DynamicMethod in org.jruby.java.invokers
Subclasses of DynamicMethod in org.jruby.java.invokersModifier and TypeClassDescriptionfinal class
class
Java field setter (writer) base implementation e.g.class
Java field getter (reader) base implementation e.g.class
class
final class
class
class
RubyToJavaInvoker<T extends JavaCallable>
final class
class
class
final class
-
Uses of DynamicMethod in org.jruby.java.proxies
Subclasses of DynamicMethod in org.jruby.java.proxiesModifier and TypeClassDescriptionstatic final class
static class
Manually added as an override of `new` for Concrete ExtensionMethods in org.jruby.java.proxies with parameters of type DynamicMethodModifier and TypeMethodDescriptionstatic int
ConcreteJavaProxy.findSuperLine
(Ruby runtime, DynamicMethod dm, int start) -
Uses of DynamicMethod in org.jruby.javasupport
Subclasses of DynamicMethod in org.jruby.javasupport -
Uses of DynamicMethod in org.jruby.javasupport.binding
Methods in org.jruby.javasupport.binding with parameters of type DynamicMethodModifier and TypeMethodDescriptionprotected final void
MethodInstaller.defineMethods
(RubyModule target, DynamicMethod invoker, boolean checkDups) Deprecated.protected final void
MethodInstaller.defineMethods
(ThreadContext context, RubyModule target, DynamicMethod invoker, boolean checkDups) -
Uses of DynamicMethod in org.jruby.runtime
Subclasses of DynamicMethod in org.jruby.runtimeModifier and TypeClassDescriptionstatic class
Wraps the target method_missing implementation, passing the called method name as a leading symbol argument.Methods in org.jruby.runtime that return DynamicMethodModifier and TypeMethodDescriptionHelpers.MethodMissingWrapper.dup()
abstract DynamicMethod
MethodFactory.getAnnotatedMethod
(RubyModule implementationClass, List<JavaMethodDescriptor> desc, String name) Based on a list of annotated Java methods, generate a method handle using the annotation and the target signatures.abstract DynamicMethod
MethodFactory.getAnnotatedMethod
(RubyModule implementationClass, JavaMethodDescriptor desc, String name) Based on an annotated Java method object, generate a method handle using the annotation and the target signature.static DynamicMethod
Helpers.selectMethodMissing
(RubyClass selfClass, Visibility visibility, String name, CallType callType) static DynamicMethod
Helpers.selectMethodMissing
(ThreadContext context, RubyClass selfClass, Visibility visibility, String name, CallType callType) static DynamicMethod
Helpers.selectMethodMissing
(ThreadContext context, IRubyObject receiver, Visibility visibility, String name, CallType callType) Methods in org.jruby.runtime with parameters of type DynamicMethodModifier and TypeMethodDescriptionstatic RubySymbol
Helpers.addInstanceMethod
(RubyModule containingClass, String name, DynamicMethod method, Visibility visibility, ThreadContext context, Ruby runtime) Deprecated.static RubySymbol
Helpers.addInstanceMethod
(RubyModule containingClass, RubySymbol symbol, DynamicMethod method, Visibility visibility, ThreadContext context) static RubySymbol
Helpers.addInstanceMethod
(RubyModule containingClass, RubySymbol symbol, DynamicMethod method, Visibility visibility, ThreadContext context, Ruby runtime) Deprecated.static ArgumentDescriptor[]
Helpers.methodToArgumentDescriptors
(DynamicMethod method) Deprecated.static ArgumentDescriptor[]
Helpers.methodToArgumentDescriptors
(ThreadContext context, DynamicMethod method) int
ThreadContext.profileEnter
(String name, DynamicMethod nextMethod) static boolean
Helpers.respondsToMethod
(DynamicMethod method, boolean checkVisibility) We have respondTo logic in RubyModule and we have a special callsite for respond_to?. -
Uses of DynamicMethod in org.jruby.runtime.callsite
Fields in org.jruby.runtime.callsite declared as DynamicMethodMethods in org.jruby.runtime.callsite with parameters of type DynamicMethodModifier and TypeMethodDescriptionprotected IRubyObject
SuperCallSite.callMethodMissing
(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method) protected IRubyObject
SuperCallSite.callMethodMissing
(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, Block block) protected IRubyObject
SuperCallSite.callMethodMissing
(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, IRubyObject arg) protected IRubyObject
SuperCallSite.callMethodMissing
(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, IRubyObject[] args) protected IRubyObject
SuperCallSite.callMethodMissing
(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, IRubyObject[] args, Block block) protected IRubyObject
SuperCallSite.callMethodMissing
(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, IRubyObject arg0, Block block) protected IRubyObject
SuperCallSite.callMethodMissing
(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, IRubyObject arg0, IRubyObject arg1) protected IRubyObject
SuperCallSite.callMethodMissing
(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, IRubyObject arg0, IRubyObject arg1, Block block) protected IRubyObject
SuperCallSite.callMethodMissing
(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, IRubyObject arg0, IRubyObject arg1, IRubyObject arg3) protected IRubyObject
SuperCallSite.callMethodMissing
(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block) protected boolean
CachingCallSite.methodMissing
(DynamicMethod method, IRubyObject caller) protected boolean
FunctionalCachingCallSite.methodMissing
(DynamicMethod method, IRubyObject caller) protected boolean
ProfilingCachingCallSite.methodMissing
(DynamicMethod method, IRubyObject caller) protected boolean
RefinedCachingCallSite.methodMissing
(DynamicMethod method, IRubyObject caller) protected boolean
SuperCallSite.methodMissing
(DynamicMethod method, IRubyObject caller) protected boolean
VariableCachingCallSite.methodMissing
(DynamicMethod method, IRubyObject caller) Constructors in org.jruby.runtime.callsite with parameters of type DynamicMethodModifierConstructorDescriptionCacheEntry
(DynamicMethod method, int token) CacheEntry
(DynamicMethod method, RubyModule source, int token) -
Uses of DynamicMethod in org.jruby.runtime.profile
Methods in org.jruby.runtime.profile that return DynamicMethodModifier and TypeMethodDescriptionMethodEnhancer.enhance
(String id, DynamicMethod delegate) Will be called with a method which should be enhanced.Methods in org.jruby.runtime.profile with parameters of type DynamicMethodModifier and TypeMethodDescriptionvoid
ProfilingService.addProfiledMethod
(String name, DynamicMethod method) Add a named method to the profiling service to be monitored.MethodEnhancer.enhance
(String id, DynamicMethod delegate) Will be called with a method which should be enhanced. -
Uses of DynamicMethod in org.jruby.runtime.profile.builtin
Methods in org.jruby.runtime.profile.builtin that return DynamicMethodMethods in org.jruby.runtime.profile.builtin with parameters of type DynamicMethodModifier and TypeMethodDescriptionvoid
BuiltinProfilingService.addProfiledMethod
(String id, DynamicMethod method) void
ProfiledMethods.addProfiledMethod
(String name, DynamicMethod method) Constructors in org.jruby.runtime.profile.builtin with parameters of type DynamicMethod