Package | Description |
---|---|
org.jruby | |
org.jruby.internal.runtime.methods | |
org.jruby.runtime |
Modifier and Type | Method and Description |
---|---|
boolean |
RubyModule.defineAnnotatedMethod(java.lang.reflect.Method method,
MethodFactory methodFactory) |
boolean |
RubyModule.defineAnnotatedMethod(java.lang.String name,
JavaMethodDescriptor desc,
MethodFactory methodFactory) |
boolean |
RubyModule.defineAnnotatedMethod(java.lang.String name,
java.util.List<JavaMethodDescriptor> methods,
MethodFactory methodFactory) |
Modifier and Type | Class and Description |
---|---|
class |
DumpingInvocationMethodFactory
This factory extends InvocationMethodFactory by also dumping the classes to
.class files at runtime.
|
class |
InvocationMethodFactory
In order to avoid the overhead with reflection-based method handles, this
MethodFactory uses ASM to generate tiny invoker classes.
|
class |
InvokeDynamicMethodFactory
This invoker uses MethodHandle for all bindings to Java code, rather than generating
stubs or using reflection.
|
Modifier and Type | Method and Description |
---|---|
static MethodFactory |
MethodFactory.createFactory(java.lang.ClassLoader classLoader)
Based on optional properties, create a new MethodFactory.
|
Copyright © 2001-2018 JRuby. All Rights Reserved.