Package | Description |
---|---|
org.jruby.anno | |
org.jruby.compiler | |
org.jruby.compiler.impl | |
org.jruby.internal.runtime.methods | |
org.jruby.runtime | |
org.jruby.runtime.invokedynamic |
Modifier and Type | Method and Description |
---|---|
static void |
TypePopulator.populateMethod(JavaMethod javaMethod,
int arity,
String simpleName,
boolean isStatic,
CallConfiguration callConfig,
boolean notImplemented) |
static void |
TypePopulator.populateMethod(JavaMethod javaMethod,
int arity,
String simpleName,
boolean isStatic,
CallConfiguration callConfig,
boolean notImplemented,
Class nativeTarget,
String nativeName,
Class nativeReturn,
Class[] nativeArguments) |
Modifier and Type | Method and Description |
---|---|
CallConfiguration |
JITCompiler.JITClassGenerator.callConfig() |
CallConfiguration |
ASTInspector.getCallConfig() |
Modifier and Type | Method and Description |
---|---|
CallConfiguration |
StandardASMCompiler.InvokerDescriptor.getCallConfig() |
Modifier and Type | Method and Description |
---|---|
void |
StandardASMCompiler.addInvokerDescriptor(String rubyName,
String newMethodName,
int methodArity,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line) |
Constructor and Description |
---|
StandardASMCompiler.InvokerDescriptor(String rubyName,
String javaName,
String classname,
Arity arity,
StaticScope scope,
CallConfiguration callConfig,
String file,
int line) |
Modifier and Type | Field and Description |
---|---|
static CallConfiguration |
CallConfiguration.BACKTRACE_AND_SCOPE
Deprecated.
|
static CallConfiguration |
CallConfiguration.BACKTRACE_DUMMY_SCOPE
Deprecated.
|
static CallConfiguration |
CallConfiguration.BACKTRACE_ONLY
Deprecated.
|
protected CallConfiguration |
DynamicMethod.callConfig
The "call configuration" to use for pre/post call logic.
|
static CallConfiguration |
CallConfiguration.FRAME_AND_DUMMY_SCOPE
Deprecated.
|
static CallConfiguration |
CallConfiguration.FRAME_AND_SCOPE
Deprecated.
|
static CallConfiguration |
CallConfiguration.FRAME_ONLY
Deprecated.
|
static CallConfiguration |
CallConfiguration.NO_FRAME_DUMMY_SCOPE
Deprecated.
|
static CallConfiguration |
CallConfiguration.NO_FRAME_NO_SCOPE
Deprecated.
|
static CallConfiguration |
CallConfiguration.SCOPE_ONLY
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
CallConfiguration |
DynamicMethod.getCallConfig()
Get the CallConfiguration used for pre/post logic for this method handle.
|
CallConfiguration |
DelegatingDynamicMethod.getCallConfig() |
CallConfiguration |
CompiledMethod.LazyCompiledMethod.getCallConfig() |
CallConfiguration |
AliasMethod.getCallConfig() |
static CallConfiguration |
CallConfiguration.getCallConfig(boolean frame,
boolean scope) |
static CallConfiguration |
CallConfiguration.getCallConfig(boolean frame,
boolean scope,
boolean backtrace)
Deprecated.
|
static CallConfiguration |
CallConfiguration.getCallConfigByAnno(JRubyMethod anno) |
static CallConfiguration |
CallConfiguration.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallConfiguration[] |
CallConfiguration.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
ReflectionMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use reflection to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvokeDynamicMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use JSR292 to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvocationMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use code generation to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
ReflectionMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use reflection to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvokeDynamicMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use code generation to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvocationMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use code generation to provide a method handle for a compiled Ruby method.
|
byte[] |
InvokeDynamicMethodFactory.getCompiledMethodOffline(String rubyName,
String javaName,
String className,
String invokerPath,
Arity arity,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line) |
byte[] |
InvocationMethodFactory.getCompiledMethodOffline(String RubyName,
String method,
String className,
String invokerPath,
Arity arity,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line)
Use code generation to provide a method handle for a compiled Ruby method.
|
static String |
InvocationMethodFactory.getPostMethod(CallConfiguration callConfig) |
void |
JavaMethod.init(RubyModule implementationClass,
Arity arity,
Visibility visibility,
StaticScope staticScope,
CallConfiguration callConfig) |
protected void |
CompiledMethod.init(RubyModule implementationClass,
Arity arity,
Visibility visibility,
StaticScope staticScope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc) |
protected void |
DynamicMethod.init(RubyModule implementationClass,
Visibility visibility,
CallConfiguration callConfig) |
static DynamicMethod |
DynamicMethodFactory.newJittedMethod(Ruby runtime,
RubyModule container,
StaticScope scope,
Script script,
String name,
CallConfiguration config,
Visibility visibility,
Arity arity,
ISourcePosition position,
DefaultMethod defaultMethod) |
void |
UndefinedMethod.setCallConfig(CallConfiguration callConfig)
Dummy implementation of setCallConfig that does nothing.
|
void |
DynamicMethod.setCallConfig(CallConfiguration callConfig)
Set the CallConfiguration used for pre/post logic for this method handle.
|
void |
DelegatingDynamicMethod.setCallConfig(CallConfiguration callConfig) |
void |
CompiledMethod.LazyCompiledMethod.setCallConfig(CallConfiguration callConfig) |
void |
DefaultMethod.switchToJitted(Script jitCompiledScript,
CallConfiguration jitCallConfig) |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
Helpers.def(ThreadContext context,
IRubyObject self,
Object scriptObject,
String rubyName,
String javaName,
StaticScope scope,
int arity,
String filename,
int line,
CallConfiguration callConfig,
String parameterDesc) |
static byte[] |
Helpers.defOffline(String rubyName,
String javaName,
String classPath,
String invokerName,
Arity arity,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line) |
static IRubyObject |
Helpers.defs(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
Object scriptObject,
String rubyName,
String javaName,
StaticScope scope,
int arity,
String filename,
int line,
CallConfiguration callConfig,
String parameterDesc) |
abstract DynamicMethod |
MethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Get a new method handle based on the target JRuby-compiled method.
|
abstract DynamicMethod |
MethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
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,
Arity arity,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line)
Like getCompiledMethod, but produces the actual bytes for the compiled
method handle rather than loading and constructing it.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.invoke.MethodHandle |
InvocationLinker.getFramePost(com.headius.invokebinder.Signature signature,
CallConfiguration callConfig) |
static java.lang.invoke.MethodHandle |
InvocationLinker.getFramePre(com.headius.invokebinder.Signature signature,
CallConfiguration callConfig,
RubyModule implClass,
String name,
StaticScope scope) |
static java.lang.invoke.MethodHandle |
InvocationLinker.wrapWithFraming(com.headius.invokebinder.Signature signature,
CallConfiguration callConfig,
RubyModule implClass,
String name,
java.lang.invoke.MethodHandle nativeTarget,
StaticScope scope) |
Copyright © 2001-2014 JRuby. All Rights Reserved.