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 classstatic classstatic classstatic classFields 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 DynamicMethodRubyModule.searchMethod(String name) Search through this module and supermodules for method definitions.protected DynamicMethodRubyModule.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 TypeMethodDescriptionvoidPrependedModule.addMethod(ThreadContext context, String id, DynamicMethod method) voidRubyModule.addMethod(String id, DynamicMethod method) Deprecated.voidRubyModule.addMethod(ThreadContext context, String id, DynamicMethod method) final voidRubyModule.addMethodInternal(String name, DynamicMethod method) Deprecated.final voidRubyModule.addMethodInternal(ThreadContext context, String name, DynamicMethod method) voidRubyModule.addModuleFunction(String name, DynamicMethod method) Deprecated.protected CacheEntryRubyModule.addToCache(String id, DynamicMethod method, RubyModule sourceModule, int token) RubyClass.getPositionOrDefault(DynamicMethod method) booleanRuby.isDefaultMethodMissing(DynamicMethod method) abstract CacheEntryRubyModule.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) voidRubyModule.putAlias(String id, DynamicMethod method, String oldName) Deprecated.voidRubyModule.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!voidRuby.setBaseNewMethod(DynamicMethod baseNewMethod) Set the base Class#new method.voidRuby.setDefaultMethodMissing(DynamicMethod method, DynamicMethod moduleMethod) voidRuby.setNormalMethodMissing(DynamicMethod method) voidRuby.setPrivateMethodMissing(DynamicMethod method) voidRuby.setProtectedMethodMissing(DynamicMethod method) voidRuby.setRespondToMethod(DynamicMethod rtm) voidRuby.setRespondToMissingMethod(DynamicMethod rtmm) voidRuby.setSuperMethodMissing(DynamicMethod method) voidRuby.setVariableMethodMissing(DynamicMethod method) -
Uses of DynamicMethod in org.jruby.anno
Methods in org.jruby.anno that return DynamicMethodModifier and TypeMethodDescriptionstatic DynamicMethodTypePopulator.populateModuleMethod(RubyModule cls, DynamicMethod javaMethod) Deprecated.static DynamicMethodTypePopulator.populateModuleMethod(RubyModule cls, RubyClass singletonClass, DynamicMethod javaMethod) Methods in org.jruby.anno with parameters of type DynamicMethodModifier and TypeMethodDescriptionstatic DynamicMethodTypePopulator.populateModuleMethod(RubyModule cls, DynamicMethod javaMethod) Deprecated.static DynamicMethodTypePopulator.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 DynamicMethodAbstractScript.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 DynamicMethodAbstractScript.getMethod0(ThreadContext context, IRubyObject self, String methodName) protected DynamicMethodAbstractScript.getMethod1(ThreadContext context, IRubyObject self, String methodName) protected DynamicMethodAbstractScript.getMethod2(ThreadContext context, IRubyObject self, String methodName) protected DynamicMethodAbstractScript.getMethod3(ThreadContext context, IRubyObject self, String methodName) protected DynamicMethodAbstractScript.getMethod4(ThreadContext context, IRubyObject self, String methodName) protected DynamicMethodAbstractScript.getMethod5(ThreadContext context, IRubyObject self, String methodName) protected DynamicMethodAbstractScript.getMethod6(ThreadContext context, IRubyObject self, String methodName) protected DynamicMethodAbstractScript.getMethod7(ThreadContext context, IRubyObject self, String methodName) protected DynamicMethodAbstractScript.getMethod8(ThreadContext context, IRubyObject self, String methodName) protected DynamicMethodAbstractScript.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 DynamicMethodRuntimeCache.searchWithCacheNoMethodMissing(IRubyObject obj, int index, String name1) final DynamicMethodRuntimeCache.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 DynamicMethodAbstractInvoker.createDynamicMethod(RubyModule module) Create a methodMethods in org.jruby.ext.ffi with parameters of type DynamicMethodModifier and TypeMethodDescriptionvoidFFI.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 DynamicMethodMethodFactory.createDynamicMethod(Ruby runtime, RubyModule module, com.kenai.jffi.Function function, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention, IRubyObject enums, boolean ignoreErrno) final DynamicMethodDefaultMethod.dup()final DynamicMethodNativeInvoker.dup()static DynamicMethodJITRuntime.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 TypeClassDescriptionclassRepresents a method which has been aliased.classA method type for attribute writers (as created by attr_writer or attr_accessor).classA method type for attribute writers (as created by attr_writer or attr_accessor).classclassclassSupports optimization for define_method.classclassA DynamicMethod backed by one or more java.lang.invoke.MethodHandle objects.classCreated by enebo on 2/6/15.classMethod for -X-C (interpreted only execution).classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classclassclassclassThis class represents a singleton type of method used as a marker for breaking method lookup loops.classThis is similar toDelegatingDynamicMethodexcept that it does not delegate most properties of DynamicMethod.classclassA DynamicMethod wrapper that performs timed profiling for each call.classA DynamicMethod wrapper that performs timed profiling for each call.classA DynamicMethod wrapper that performs timed profiling for each call.classfinal classThis 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 DynamicMethodDelegatingDynamicMethod.dup()abstract DynamicMethodDynamicMethod.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 TypeMethodDescriptionvoidCompiledIRMethod.completeBuild(ThreadContext context, DynamicMethod buildResult) voidMixedModeIRMethod.completeBuild(ThreadContext context, DynamicMethod newMethod) booleanProcMethod.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 DynamicMethodIRRuntimeHelpers.newCompiledClassBody(ThreadContext context, MethodHandle handle, String id, int line, StaticScope scope, Object container, Object superClass, boolean maybeRefined) static DynamicMethodIRRuntimeHelpers.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 DynamicMethodIRRuntimeHelpers.newCompiledModuleBody(ThreadContext context, MethodHandle handle, String id, int line, StaticScope scope, Object rubyContainer, boolean maybeRefined) static DynamicMethodIRRuntimeHelpers.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 IRubyObjectIRRuntimeHelpers.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 DynamicMethodMetaClassBootstrap.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 MethodHandleJavaBootstrap.createJavaHandle(InvokeSite site, DynamicMethod method) protected MethodHandleInvokeSite.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 classclassJava field setter (writer) base implementation e.g.classJava field getter (reader) base implementation e.g.classclassfinal classclassclassRubyToJavaInvoker<T extends JavaCallable>final classclassclassfinal class -
Uses of DynamicMethod in org.jruby.java.proxies
Subclasses of DynamicMethod in org.jruby.java.proxiesModifier and TypeClassDescriptionstatic final classstatic classManually added as an override of `new` for Concrete ExtensionMethods in org.jruby.java.proxies with parameters of type DynamicMethodModifier and TypeMethodDescriptionstatic intConcreteJavaProxy.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 voidMethodInstaller.defineMethods(RubyModule target, DynamicMethod invoker, boolean checkDups) Deprecated.protected final voidMethodInstaller.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 classWraps 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 DynamicMethodMethodFactory.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 DynamicMethodMethodFactory.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 DynamicMethodHelpers.selectMethodMissing(RubyClass selfClass, Visibility visibility, String name, CallType callType) static DynamicMethodHelpers.selectMethodMissing(ThreadContext context, RubyClass selfClass, Visibility visibility, String name, CallType callType) static DynamicMethodHelpers.selectMethodMissing(ThreadContext context, IRubyObject receiver, Visibility visibility, String name, CallType callType) Methods in org.jruby.runtime with parameters of type DynamicMethodModifier and TypeMethodDescriptionstatic RubySymbolHelpers.addInstanceMethod(RubyModule containingClass, String name, DynamicMethod method, Visibility visibility, ThreadContext context, Ruby runtime) Deprecated.static RubySymbolHelpers.addInstanceMethod(RubyModule containingClass, RubySymbol symbol, DynamicMethod method, Visibility visibility, ThreadContext context) static RubySymbolHelpers.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) intThreadContext.profileEnter(String name, DynamicMethod nextMethod) static booleanHelpers.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 IRubyObjectSuperCallSite.callMethodMissing(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method) protected IRubyObjectSuperCallSite.callMethodMissing(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, Block block) protected IRubyObjectSuperCallSite.callMethodMissing(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, IRubyObject arg) protected IRubyObjectSuperCallSite.callMethodMissing(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, IRubyObject[] args) protected IRubyObjectSuperCallSite.callMethodMissing(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, IRubyObject[] args, Block block) protected IRubyObjectSuperCallSite.callMethodMissing(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, IRubyObject arg0, Block block) protected IRubyObjectSuperCallSite.callMethodMissing(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, IRubyObject arg0, IRubyObject arg1) protected IRubyObjectSuperCallSite.callMethodMissing(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, IRubyObject arg0, IRubyObject arg1, Block block) protected IRubyObjectSuperCallSite.callMethodMissing(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, IRubyObject arg0, IRubyObject arg1, IRubyObject arg3) protected IRubyObjectSuperCallSite.callMethodMissing(ThreadContext context, IRubyObject self, RubyClass selfType, String name, DynamicMethod method, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block) protected booleanCachingCallSite.methodMissing(DynamicMethod method, IRubyObject caller) protected booleanFunctionalCachingCallSite.methodMissing(DynamicMethod method, IRubyObject caller) protected booleanProfilingCachingCallSite.methodMissing(DynamicMethod method, IRubyObject caller) protected booleanRefinedCachingCallSite.methodMissing(DynamicMethod method, IRubyObject caller) protected booleanSuperCallSite.methodMissing(DynamicMethod method, IRubyObject caller) protected booleanVariableCachingCallSite.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 TypeMethodDescriptionvoidProfilingService.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 TypeMethodDescriptionvoidBuiltinProfilingService.addProfiledMethod(String id, DynamicMethod method) voidProfiledMethods.addProfiledMethod(String name, DynamicMethod method) Constructors in org.jruby.runtime.profile.builtin with parameters of type DynamicMethod