Package | Description |
---|---|
org.jruby.internal.runtime.methods | |
org.jruby.runtime |
Modifier and Type | Method and Description |
---|---|
MethodNodes |
MethodWithNodes.getMethodNodes() |
MethodNodes |
CompiledMethod.getMethodNodes() |
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
ReflectionMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodNodes methodNodes)
Use reflection to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvokeDynamicMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodNodes methodNodes)
Use JSR292 to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvocationMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodNodes methodNodes)
Use code generation to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
ReflectionMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodNodes methodNodes)
Use reflection to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvokeDynamicMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodNodes methodNodes)
Use code generation to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvocationMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodNodes methodNodes)
Use code generation to provide a method handle for a compiled Ruby method.
|
byte[] |
InvokeDynamicMethodFactory.getCompiledMethodOffline(String rubyName,
String javaName,
String className,
String invokerPath,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line,
MethodNodes methodNodes) |
byte[] |
InvocationMethodFactory.getCompiledMethodOffline(String RubyName,
String method,
String className,
String invokerPath,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line,
MethodNodes methodNodes)
Use code generation to provide a method handle for a compiled Ruby method.
|
void |
CompiledMethod.unsafeSetMethodNodes(MethodNodes methodNodes) |
Constructor and Description |
---|
CompiledMethod.LazyCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodFactory factory,
MethodNodes methodNodes) |
CompiledMethod(MethodNodes methodNodes) |
Modifier and Type | Method and Description |
---|---|
abstract DynamicMethod |
MethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodNodes methodNodes)
Get a new method handle based on the target JRuby-compiled method.
|
abstract DynamicMethod |
MethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodNodes methodNodes)
Like getCompiledMethod, but postpones any heavy lifting involved in
creating the method until first invocation.
|
byte[] |
MethodFactory.getCompiledMethodOffline(String rubyName,
String javaName,
String classPath,
String invokerPath,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line,
MethodNodes methodNodes)
Like getCompiledMethod, but produces the actual bytes for the compiled
method handle rather than loading and constructing it.
|
Copyright © 2001-2015 JRuby. All Rights Reserved.