Package | Description |
---|---|
org.jruby | |
org.jruby.internal.runtime.methods | |
org.jruby.runtime |
Modifier and Type | Method and Description |
---|---|
boolean |
RubyModule.defineAnnotatedMethod(Method method,
MethodFactory methodFactory) |
boolean |
RubyModule.defineAnnotatedMethod(String name,
JavaMethodDescriptor desc,
MethodFactory methodFactory) |
boolean |
RubyModule.defineAnnotatedMethod(String name,
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
In order to avoid the overhead with reflection-based method handles, this
MethodFactory uses ASM to generate tiny invoker classes.
|
class |
ReflectionMethodFactory
This MethodFactory uses reflection to provide method handles.
|
Constructor and Description |
---|
CompiledMethod.LazyCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodFactory factory,
MethodNodes methodNodes) |
Modifier and Type | Method and Description |
---|---|
static MethodFactory |
MethodFactory.createFactory(ClassLoader classLoader)
Based on optional properties, create a new MethodFactory.
|
Copyright © 2001-2015 JRuby. All Rights Reserved.