Uses of Class
org.jruby.runtime.MethodFactory
Packages that use MethodFactory
-
Uses of MethodFactory in org.jruby
Methods in org.jruby with parameters of type MethodFactoryModifier and TypeMethodDescriptionfinal booleanRubyModule.defineAnnotatedMethod(Method method, MethodFactory methodFactory) Deprecated.final booleanRubyModule.defineAnnotatedMethod(String name, List<JavaMethodDescriptor> methods, MethodFactory methodFactory) Deprecated.final booleanRubyModule.defineAnnotatedMethod(String name, JavaMethodDescriptor desc, MethodFactory methodFactory) Deprecated.final voidRubyModule.defineAnnotatedMethod(ThreadContext context, String name, List<JavaMethodDescriptor> methods, MethodFactory methodFactory) This is an internal API used by the type populator. -
Uses of MethodFactory in org.jruby.internal.runtime.methods
Subclasses of MethodFactory in org.jruby.internal.runtime.methodsModifier and TypeClassDescriptionclassThis factory extends InvocationMethodFactory by also dumping the classes to .class files at runtime.classIn order to avoid the overhead with reflection-based method handles, this MethodFactory uses ASM to generate tiny invoker classes.classThis invoker uses MethodHandle for all bindings to Java code, rather than generating stubs or using reflection. -
Uses of MethodFactory in org.jruby.runtime
Methods in org.jruby.runtime that return MethodFactoryModifier and TypeMethodDescriptionstatic MethodFactoryMethodFactory.createFactory(ClassLoader classLoader) Based on optional properties, create a new MethodFactory.
RubyModule.defineMethods(ThreadContext, Class[])instead and organize your code around all JRubyMethod annotations in that .class being defined.